Whamcloud - gitweb
LU-6969 osd: remove agent inodes in a separate transaction 24/15924/8
authorAlex Zhuravlev <alexey.zhuravlev@intel.com>
Mon, 10 Aug 2015 08:11:01 +0000 (11:11 +0300)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 1 Oct 2015 14:22:13 +0000 (14:22 +0000)
commit0887b89c0c4e2b7c5a7ba3365e758a7d94c667fa
treeb983512e976e0e1f8be4ea7c4f7878caca3ee1b5
parent38d45a59d8a29bc60d690620e9bcc3eaba108d9b
LU-6969 osd: remove agent inodes in a separate transaction

Create a separate list of agent inodes that need to be deleted,
and delete them after the main transaction has been completed.
Otherwise the number of transaction credits needed to delete
these agents is not accounted in the main transaction and may
trigger assertions in the credit accounting.

Change-Id: Idefce3304d070c5a14de55054d95a57767a5954d
Signed-off-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-on: http://review.whamcloud.com/15924
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: wangdi <di.wang@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/osd-ldiskfs/osd_handler.c
lustre/osd-ldiskfs/osd_internal.h