Whamcloud - gitweb
LU-7899 osd: batch EA updates 93/21893/16
authorAlex Zhuravlev <alexey.zhuravlev@intel.com>
Tue, 28 Feb 2017 09:44:14 +0000 (12:44 +0300)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 9 Aug 2017 04:18:28 +0000 (04:18 +0000)
commit2c9ff6dffdf4320af95c9db9af07a416529275f0
tree4c82f20c429b609a09e1e79516785ee80734dd0b
parenta446cbb8b1e2fa73c30938d043f79f644c13efe7
LU-7899 osd: batch EA updates

during file creation we set number of EAs: LMA, VBR, LinkEA, LOVEA, ACLs.
calling into SA to refill spill again and again is expensive. thus it
makes sense to postpone this to osd_trans_stop() where all changed EAs
has been already collected in a temporary buffer.

Change-Id: Ia2604ddafdf8b2ca4f6db4d70ead6d2d2761cd26
Signed-off-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-on: http://review.whamcloud.com/19143
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Reviewed-on: https://review.whamcloud.com/21893
lustre/osd-zfs/osd_handler.c
lustre/osd-zfs/osd_internal.h
lustre/osd-zfs/osd_object.c
lustre/osd-zfs/osd_oi.c
lustre/osd-zfs/osd_xattr.c