Whamcloud - gitweb
LU-6299 osp: zero-length EA xattr_set for striped_dir 87/14787/4
authorwang di <di.wang@intel.com>
Mon, 11 May 2015 16:38:02 +0000 (09:38 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 28 May 2015 17:06:27 +0000 (17:06 +0000)
commit1cf0952fc28b061932cec40022486a7f78573414
tree948863923729b1a238139a005d15034c6b3e450f
parentbf26627764d7e82d9e132de47b40dbda6ec4e261
LU-6299 osp: zero-length EA xattr_set for striped_dir

OSP/OUT should not assume xattr values always have
non-zero length, and OSP should be able to pack empty
xattr updates and sends to OUT.

Add test case in sanity 102r to verify empty value
xattr_set for striped dir.

Signed-off-by: wang di <di.wang@intel.com>
Change-Id: I14e0172038ef4c5671ec470228edd7cc4533a89c
Reviewed-on: http://review.whamcloud.com/14787
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/include/lustre_update.h
lustre/osp/osp_object.c
lustre/target/out_handler.c
lustre/tests/sanity.sh