Whamcloud - gitweb
LU-11924 osp: combine llog cancel operations 79/34179/5
authorAlexander Boyko <c17825@cray.com>
Tue, 5 Feb 2019 11:36:28 +0000 (06:36 -0500)
committerOleg Drokin <green@whamcloud.com>
Mon, 18 Feb 2019 06:38:58 +0000 (06:38 +0000)
commit6d733210206561f73b5c29126b4012cd7a8c0d18
tree59637c62022f7393652ea5889326d5b0fe9255ef
parent31f5c7d4fa4226d3339b25569d66f8e0c9c2e34e
LU-11924 osp: combine llog cancel operations

The osp_sync_process_committed() cancels llog records one by one.
For each cancel it do open,transaction,mutex,write, etc. But most
of all cancels belongs to a single llog file. So they could
be combined.

The patch adds functions for cancelling array of indexes for a
llog file. And adds behavior and calls at
osp_sync_process_committed().

Signed-off-by: Alexander Boyko <c17825@cray.com>
Cray-bug-id: LUS-6836
Change-Id: I4f461687021b3f76595d403cdd0bb6aba8d93b53
Reviewed-on: https://review.whamcloud.com/34179
Tested-by: Jenkins
Reviewed-by: Sergey Cheremencev <c17829@cray.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andriy Skulysh <c17819@cray.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre_log.h
lustre/obdclass/llog.c
lustre/obdclass/llog_cat.c
lustre/osp/osp_sync.c