Whamcloud - gitweb
LU-3660 acl: support mount option "noacl" for zfs 57/11157/2
authorLai Siyao <lai.siyao@intel.com>
Thu, 26 Jun 2014 16:20:46 +0000 (00:20 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 1 Aug 2014 06:44:34 +0000 (06:44 +0000)
commitba7c99a5b18535305d3ae3b1687116c1fff5b4a8
tree82fac01b8f78035c9be985305660f093e34be400
parent3f4ca2cb52dc9c88c8061d8b907b6f793d604f6c
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