Whamcloud - gitweb
b=22747 Processes stuck waiting for inode I_LOCK bit to clear.
authorDmitry Zogin <dmitry.zoguine@oracle.com>
Wed, 9 Jun 2010 22:00:21 +0000 (18:00 -0400)
committerRobert Read <robert.read@oracle.com>
Thu, 10 Jun 2010 04:29:33 +0000 (21:29 -0700)
 Use CFS_ALLOC_IO instead of CFS_ALLOC_STD in OBDO_ALLOC

 i=andreas.dilger
 i=johann

lustre/include/obd_class.h

index 0b12032..82c3f06 100644 (file)
@@ -2183,7 +2183,7 @@ extern cfs_mem_cache_t *obdo_cachep;
 
 #define OBDO_ALLOC(ptr)                                                       \
 do {                                                                          \
-        OBD_SLAB_ALLOC_PTR((ptr), obdo_cachep);                               \
+        OBD_SLAB_ALLOC_PTR_GFP((ptr), obdo_cachep, CFS_ALLOC_IO);             \
 } while(0)
 
 #define OBDO_FREE(ptr)                                                        \