Whamcloud - gitweb
LU-7899 osd: batch EA updates 43/19143/5
authorAlex Zhuravlev <alexey.zhuravlev@intel.com>
Fri, 25 Mar 2016 09:21:16 +0000 (12:21 +0300)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 11 Jul 2016 23:56:08 +0000 (23:56 +0000)
commit6cd79ab5860c59c2a640a9e8ca4ee86eec050b43
tree5fa053d38544e6ee406a70c2ac1d6454e3b221ab
parentb2d6651eda081139cb168069d256b651a5435781
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: I8f02a287b96615c3aa550d63ffd9dd3da51b39ee
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>
lustre/osd-zfs/osd_handler.c
lustre/osd-zfs/osd_internal.h
lustre/osd-zfs/osd_object.c
lustre/osd-zfs/osd_xattr.c