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

barumuga at redhat.com barumuga at redhat.com
Wed Aug 26 09:10:06 UTC 2015


Bala.FA 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>
(cherry picked from commit d6f46a0095e381d1ea9e2dd10cea30bcaf64ce3d)
Reviewed-on: https://gerrit.ovirt.org/45299
Continuous-Integration: Bala.FA <barumuga at redhat.com>
---
M vdsm/gluster/storagedev.py
1 file changed, 15 insertions(+), 5 deletions(-)

Approvals:
  Timothy Asir: Verified
  Bala.FA: Looks good to me, approved; Passed CI tests



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

Gerrit-MessageType: merged
Gerrit-Change-Id: If3f350d2f79172705a93a9d69fe1b7b78867861e
Gerrit-PatchSet: 2
Gerrit-Project: vdsm
Gerrit-Branch: ovirt-3.5-gluster
Gerrit-Owner: Timothy Asir <tjeyasin at redhat.com>
Gerrit-Reviewer: Bala.FA <barumuga 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