Whamcloud - gitweb
LU-3660 acl: support mount option "noacl" for zfs
authorLai Siyao <lai.siyao@intel.com>
Thu, 26 Jun 2014 16:20:46 +0000 (00:20 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 17 Sep 2014 03:02:14 +0000 (23:02 -0400)
commit07e116c1d02599299ebf9bd61408589a6740bdfa
tree58bd1a412ee745f4e8117f1eaa4b5bc3d0378ef1
parente1377e9f69a70c0a4865d7e1ad1721243e6b11c2
LU-3660 acl: support mount option "noacl" for zfs

zfs parse mount option in zpl layer, but osd-zfs calls dmu
directly, since ldiskfs parse "noacl" at mount time, osd-zfs
should do the same in osd_mount().

Similar to ldiskfs, osd-zfs should check whether ACL is enabled
for ACL operations, if not -EOPNOTSUPP is returned.

add sanity test 103b for "noacl" mount option.

Signed-off-by: Lai Siyao <lai.siyao@intel.com>
Change-Id: I11075a9de8759fde956e7ae8b715840a56d0428e
Reviewed-on: http://review.whamcloud.com/11157
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Reviewed-by: Li Wei <wei.g.li@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/mdt/mdt_xattr.c
lustre/osd-zfs/osd_handler.c
lustre/osd-zfs/osd_internal.h
lustre/osd-zfs/osd_xattr.c
lustre/tests/sanity.sh