Whamcloud - gitweb
modified the mdt_object_unlock() interface:
authorhuanghua <huanghua>
Fri, 21 Jul 2006 09:14:09 +0000 (09:14 +0000)
committerhuanghua <huanghua>
Fri, 21 Jul 2006 09:14:09 +0000 (09:14 +0000)
commit2bde04f7d7df9b514400e0e28389cabac103b4b8
tree09fd70b22453176d052a9a077d766c4f5b6d4fd1
parenta656004b8c54048a365d457d7abf7163378d4c64
modified the mdt_object_unlock() interface:
(1) add another parameter "int decref";
(1.1) if decref, call ldlm_lock_decref() to drop the lock;
(1.2) else call ptlrpc_save_lock() to save to lock into request.
(2) if some operation has transaction and success, we need to save the lock,
    otherwise, we just drop the lock.
lustre/mdt/mdt_handler.c
lustre/mdt/mdt_internal.h
lustre/mdt/mdt_open.c
lustre/mdt/mdt_reint.c
lustre/mdt/mdt_xattr.c