Whamcloud - gitweb
Branch b1_6
authorvitaly <vitaly>
Thu, 20 Nov 2008 21:26:29 +0000 (21:26 +0000)
committervitaly <vitaly>
Thu, 20 Nov 2008 21:26:29 +0000 (21:26 +0000)
b=16129
i=adilger
i=green

- a high priority request list is added into service;
- once a lock is canceled, all the IO requests, including coming
ones, under this lock, are moved into this list;
- PING is also added into this list;
- once a lock cancel timeout occurs, the timeout is prolonged
if there is an IO rpc under this lock;
- another request list is added into the export, used to speed up
the rpc-lock matching.

lnet/include/libcfs/libcfs.h

index 564edd6..4a158c1 100644 (file)
@@ -307,6 +307,12 @@ do {                                                                    \
         return RETURN__ret;                                             \
 } while (0)
 
+#define RETURN_EXIT                                                     \
+do {                                                                    \
+        EXIT_NESTING;                                                   \
+        return;                                                         \
+} while (0)
+
 #define ENTRY                                                           \
 ENTRY_NESTING;                                                          \
 do {                                                                    \