]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: lustre: ptlrpc: reset imp_replay_cursor
authorHongchao Zhang <hongchao.zhang@intel.com>
Thu, 10 Nov 2016 17:30:57 +0000 (12:30 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Nov 2016 15:02:55 +0000 (16:02 +0100)
commit62522cc48c5822431783ba0f9c05200abaac344e
tree933816612a9d652c27b67e93ceeba9e5b4fc798e
parentca42800ced404044603e89d485a34d0239047435
staging: lustre: ptlrpc: reset imp_replay_cursor

At client side, the replay cursor using to speed up the lookup
of committed open requests in its obd_import should be resetted
for normal connection (not reconnection) during recovery.

Signed-off-by: Hongchao Zhang <hongchao.zhang@intel.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6802
Reviewed-on: http://review.whamcloud.com/17351
Reviewed-by: Niu Yawei <yawei.niu@intel.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/ptlrpc/import.c