Whamcloud - gitweb
LU-4389 clio: update file attributes after sync 15/12915/5
authorBobi Jam <bobijam.xu@intel.com>
Wed, 3 Dec 2014 07:45:14 +0000 (15:45 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 19 Jun 2015 07:05:44 +0000 (07:05 +0000)
commit6dd64da78d85d62df96946d82418cc5b0760ff86
tree13d513349b269ed89bddd6cdafb9b6c810964fcd
parent740412e18ac3d0f25056f829409f292bd815403e
LU-4389 clio: update file attributes after sync

This really only affects ZFS, because zfs does not update # of blocks
until the blocks are flushed to disk.

This patch update file's blocks attribute after OST_SYNC completes.

Signed-off-by: Bobi Jam <bobijam.xu@intel.com>
Change-Id: I2b62dff5acda2984f60d5ed5df4ad19144cd6829
Reviewed-on: http://review.whamcloud.com/12915
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/osc/osc_internal.h
lustre/osc/osc_io.c
lustre/osc/osc_request.c
lustre/tests/sanityn.sh