Change in vdsm[master]: gluster: fix xfs filesystem is created with wrong inode size

danken at redhat.com danken at redhat.com
Tue Aug 25 11:53:25 UTC 2015


Dan Kenigsberg has submitted this change and it was merged.

Change subject: gluster: fix xfs filesystem is created with wrong inode size
......................................................................


gluster: fix xfs filesystem is created with wrong inode size

Currently brick create function creates an xfs filesystem with
inode size of 256 for brick which uses raid0 or JBOD devices.

This patch uses the striping parameters "-d su=stripe_unit_size,
sw=stripe_width_in_number_of_disks" during xfs file system
create for RAID6. For RAID 10, JBOD and other devices it omits
the "-d su=<>,sw=<>" option and set only the inode size to 512
and the directory block size to 8192.

Change-Id: If3f350d2f79172705a93a9d69fe1b7b78867861e
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1244865
Signed-off-by: Timothy Asir Jeyasingh <tjeyasin at redhat.com>
Reviewed-on: https://gerrit.ovirt.org/43847
Reviewed-by: Bala.FA <barumuga at redhat.com>
Reviewed-by: Manoj Pillai <mpillai at redhat.com>
Continuous-Integration: Jenkins CI
Reviewed-by: Dan Kenigsberg <danken at redhat.com>
---
M vdsm/gluster/storagedev.py
1 file changed, 15 insertions(+), 5 deletions(-)

Approvals:
  Manoj Pillai: Looks good to me, but someone else must approve
  Timothy Asir: Verified
  Bala.FA: Looks good to me, but someone else must approve
  Jenkins CI: Passed CI tests
  Dan Kenigsberg: Looks good to me, approved



-- 
To view, visit https://gerrit.ovirt.org/43847
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: If3f350d2f79172705a93a9d69fe1b7b78867861e
Gerrit-PatchSet: 7
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Timothy Asir <tjeyasin at redhat.com>
Gerrit-Reviewer: Bala.FA <barumuga at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Darshan Narayana Murthy <dnarayan at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Manoj Pillai <mpillai at redhat.com>
Gerrit-Reviewer: Ramesh N <rnachimu at redhat.com>
Gerrit-Reviewer: Sahina Bose <sabose at redhat.com>
Gerrit-Reviewer: Shubhendu Tripathi <shtripat at redhat.com>
Gerrit-Reviewer: Timothy Asir <tjeyasin at redhat.com>
Gerrit-Reviewer: automation at ovirt.org


More information about the vdsm-patches mailing list