Whamcloud - gitweb
LU-2880 ldiskfs: Added mount option to enable dirdata. 95/6495/12
authorManisha Salve <msalve@ddn.com>
Fri, 10 Jan 2014 16:25:50 +0000 (11:25 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 18 Jan 2014 05:35:17 +0000 (05:35 +0000)
commitadd1417e6f95a63cd3ed90c968b7b0c260168ce4
treebbc4acfea29634df60207a53efdbd61bbbc967c8
parent14cbce4b70833ee259427fa5a2ba826b75bb5c58
LU-2880 ldiskfs: Added mount option to enable dirdata.

Added the code to set mount option for enabling the dirdata in
osd_mount(). This will set the dirdata option for lustre
filesystems only. The dirdata mount option would be checked in
get_dtype() to decide whether to pass dirdata flag as well while
reading the file type.

Signed-off-by: Manisha Salve <msalve@ddn.com>
Signed-off-by: James Simmons <uja.ornl@gmail.com>
Change-Id: I07f430c5cd7ad92b81746085b05b53c1202dd725
Reviewed-on: http://review.whamcloud.com/6495
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
ldiskfs/kernel_patches/patches/rhel6.3/ext4-data-in-dirent.patch
ldiskfs/kernel_patches/patches/sles11sp2/ext4-data-in-dirent.patch
ldiskfs/kernel_patches/series/ldiskfs-2.6-sles11.series
lustre/osd-ldiskfs/osd_handler.c