Whamcloud - gitweb
LU-5405 llog: add newly opened llog at tail of handle list
authorLi Xi <lixi@ddn.com>
Mon, 25 Aug 2014 08:56:29 +0000 (16:56 +0800)
committerOleg Drokin <green@whamcloud.com>
Thu, 2 Oct 2014 04:53:39 +0000 (00:53 -0400)
commitfcfd78204a9fbd6b2c353403844ca57541d9c5cd
tree1262326d1af9b0a3ea3345aea8a1d7d4f4513df5
parente38f1189a41d0ec6d3acce5266c4c1544ae9267c
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>
Conflicts:
lustre/obdclass/llog_cat.c
lustre/obdclass/llog_cat.c