Whamcloud - gitweb
LU-7899 osd: batch EA updates 82/28482/2
authorAlex Zhuravlev <alexey.zhuravlev@intel.com>
Tue, 28 Feb 2017 09:44:14 +0000 (12:44 +0300)
committerJohn L. Hammond <john.hammond@intel.com>
Mon, 21 Aug 2017 20:25:30 +0000 (20:25 +0000)
commitd53a1183058ebfd52bf61b194d151369ba7c5087
tree45ee0805cd90f327c96d8550c71918ea63d1224a
parentb4bec6e0dc098b62b0146e0f625f0a6c4ffd0d04
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.

Lustre-change: https://review.whamcloud.com/21893
Lustre-commit: 2c9ff6dffdf4320af95c9db9af07a416529275f0

Change-Id: Ia2604ddafdf8b2ca4f6db4d70ead6d2d2761cd26
Signed-off-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Signed-off-by: Minh Diep <minh.diep@intel.com>
Reviewed-on: https://review.whamcloud.com/28482
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
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