Whamcloud - gitweb
LU-6968 llog: Only update necessary part of header 05/15905/6
authorwang di <di.wang@intel.com>
Wed, 5 Aug 2015 08:03:42 +0000 (01:03 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 1 Sep 2015 03:01:01 +0000 (03:01 +0000)
commit339e9adc2ce671c948c0f278f522fa62e51d8371
treea5c23aa2dac107ec018cd31c9364507263d24491
parent7bcc173ee3627fe184b9644889d2ce27d62e81e4
LU-6968 llog: Only update necessary part of header

During llog_cancel_rec(), only update the part of header,
instead of the whole header, otherwise it might need pack
the whole header (32KB) into the RPC for each record
cancellation.

Signed-off-by: wang di <di.wang@intel.com>
Change-Id: I1e6e04b5b725ca8ed500b6c4d767719d7ff5f658
Reviewed-on: http://review.whamcloud.com/15905
Tested-by: Jenkins
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/obdclass/llog.c
lustre/obdclass/llog_internal.h
lustre/obdclass/llog_osd.c