Whamcloud - gitweb
LU-10582 out: can't obtain remote acl xattr 88/31088/5
authorAndriy Skulysh <c17819@cray.com>
Tue, 12 Dec 2017 13:39:14 +0000 (15:39 +0200)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 6 Mar 2018 19:14:05 +0000 (19:14 +0000)
commit9189dbcd10bced3e2acb12b4393f5d3e849a9649
tree60fda16268ae95c8cb15f546434d5c4bf7688e54
parent4b67e5a8150309f4bbeb43a9095f12243be6dcfa
LU-10582 out: can't obtain remote acl xattr

osp_xattr_get() fails due to hardcoded
reply size limitation.

With large_xattr enabled ddp_max_ea_size can be
almost 1MB and out_handles fails to send such big
reply.

Limit maximum ACL buffer size by XATTR_SIZE_MAX.
Limit ddp_max_ea_size to fit resulting reply
request into LNET_MTU.

Cray-bug-id: MRP-4724
Change-Id: I6405330605809911c3f814fe5cb9d476d7ac40ed
Signed-off-by: Andriy Skulysh <c17819@cray.com>
Reviewed-on: https://review.whamcloud.com/31088
Reviewed-by: Alexandr Boyko <c17825@cray.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andrew Perepechko <c17827@cray.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/mdd/mdd_permission.c
lustre/osd-ldiskfs/osd_handler.c
lustre/osp/osp_trans.c
lustre/target/out_lib.c
lustre/tests/sanity.sh