Whamcloud - gitweb
ORNL-3 mntopt: consider low-layer options for MDT ACL flags
authorFan Yong <yong.fan@whamcloud.com>
Fri, 11 Nov 2011 02:18:39 +0000 (10:18 +0800)
committerOleg Drokin <green@whamcloud.com>
Fri, 11 Nov 2011 20:41:07 +0000 (15:41 -0500)
commitfde3d36fb2650298c2bd2ea12e92adf232e0e786
treeeaac13e42aeedd3bcb6e617dda14d7af343d8c48
parentfd79a11a9f4c9526af33a68c77a28437b3c29dfa
ORNL-3 mntopt: consider low-layer options for MDT ACL flags

Currently, MDT layer enables ACL support by default without checking
whether low-layer (ldiskfs) enables ACL support or not, then causes
unnecessary data traffic on network and through MDS stack for ACL.

So MDT should communicate with low-layer before setting ACL flags.

Signed-off-by: Fan Yong <yong.fan@whamcloud.com>
Change-Id: I804f10bf486745ddd3b23b89e959dfd585589ac0
Reviewed-on: http://review.whamcloud.com/1211
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/darwin/lustre_lib.h
lustre/include/dt_object.h
lustre/include/lustre_lib.h
lustre/mdd/mdd_device.c
lustre/mdt/mdt_handler.c
lustre/osd-ldiskfs/osd_handler.c