Whamcloud - gitweb
LU-2613 recovery: free open/close request promptly 65/6665/11
authorHongchao Zhang <hongchao.zhang@intel.com>
Sun, 21 Jul 2013 21:40:37 +0000 (05:40 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 6 Nov 2013 06:51:49 +0000 (06:51 +0000)
commit4322e0f99c87bc0412d315d0674d70cc1ffc0bb4
tree9a9d37bb3439cb129b90c60ed429a1d9b184e7d4
parent1e0ab9df0e0d6e166ed1d4c83c3fa919a05d61b1
LU-2613 recovery: free open/close request promptly

- For the non-create open or committed open, the open request
  should be freed along with the close request as soon as the
  close done, despite that the transno of open/close is
  greater than the last committed transno known by client or not.

- Move the committed open request into another dedicated list,
  that will avoid scanning a huge replay list on receiving each
  reply (when there are many open files).

Signed-off-by: Niu Yawei <yawei.niu@intel.com>
Signed-off-by: Hongchao Zhang <hongchao.zhang@intel.com>
Change-Id: I1a25a35fe7a16681368d92d16964680b6209b3ee
Reviewed-on: http://review.whamcloud.com/6665
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
21 files changed:
lustre/include/lustre/lustre_idl.h
lustre/include/lustre_export.h
lustre/include/lustre_import.h
lustre/include/lustre_net.h
lustre/include/obd.h
lustre/include/obd_class.h
lustre/liblustre/file.c
lustre/llite/file.c
lustre/llite/llite_lib.c
lustre/lmv/lmv_obd.c
lustre/mdc/mdc_internal.h
lustre/mdc/mdc_locks.c
lustre/mdc/mdc_reint.c
lustre/mdc/mdc_request.c
lustre/mdt/mdt_open.c
lustre/obdclass/genops.c
lustre/obdclass/lprocfs_status.c
lustre/ptlrpc/client.c
lustre/ptlrpc/import.c
lustre/ptlrpc/recover.c
lustre/tests/sanity.sh