Whamcloud - gitweb
LU-5770 osd: find bufsize in declare_xattr_set 12/12412/11
authorAlexander Zarochentsev <alexander.zarochentsev@seagate.com>
Fri, 24 Oct 2014 03:42:27 +0000 (07:42 +0400)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 30 Oct 2015 16:42:45 +0000 (16:42 +0000)
commitf6e7cc6d3a640e02192096584f4c6625b99e4678
tree8595409d296c5c5fce82df40c99911b41fb1eb2e
parent04f4023cf59b6e5a1634ba492cd813dcb1af0c7c
LU-5770 osd: find bufsize in declare_xattr_set

mdd_link/mdd_unlink need to know LINKEA buffer size before
transaction start for correct estimation of tx credits.
In case if xattr size not known, make a call to osd_xattr_set()
to find correct buffer size.

Xyratex-bug-id: MRP-2093
Signed-off-by: Alexander Zarochentsev <alexander.zarochentsev@seagate.com>
Change-Id: I890e8182bd2d191a0322d25f0684f2a220873546
Reviewed-on: http://review.whamcloud.com/12412
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: wangdi <di.wang@intel.com>
Reviewed-by: Faccini Bruno <bruno.faccini@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/osd-ldiskfs/osd_handler.c
lustre/osd-ldiskfs/osd_internal.h
lustre/osd-ldiskfs/osd_io.c