Whamcloud - gitweb
LU-5405 llog: add newly opened llog at tail of handle list 75/11575/2
authorLi Xi <lixi@ddn.com>
Mon, 25 Aug 2014 08:56:29 +0000 (16:56 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 4 Sep 2014 17:18:58 +0000 (17:18 +0000)
commit775a6b5514b1bbc064e1c91b146d1535d1e92c95
tree469a129fe5337bdde10b51c3ef95694b4e7b7299
parentea008e09e53a8e71bdbbd326c062f64d59678095
LU-5405 llog: add newly opened llog at tail of handle list

Add newly opened llog handle at the tail of handle list to increase
lookup speed, especially for cancel operation, because the canceled
log will be removed from the list, and lookup is from the beginning.

Signed-off-by: Lai Siyao <lai.siyao@intel.com>
Signed-off-by: Li Xi <lixi@ddn.com>
Change-Id: I4c5c22901ea5818a8ee50ef97d6dabe4839b9a74
Reviewed-on: http://review.whamcloud.com/11575
Tested-by: Jenkins
Reviewed-by: Ian Costello <costello.ian@gmail.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/obdclass/llog_cat.c