From 29b5934cb23e13db114da9d25a484a7deda7b119 Mon Sep 17 00:00:00 2001 From: Dmitry Zogin Date: Wed, 9 Jun 2010 18:00:21 -0400 Subject: [PATCH] b=22747 Processes stuck waiting for inode I_LOCK bit to clear. Use CFS_ALLOC_IO instead of CFS_ALLOC_STD in OBDO_ALLOC i=andreas.dilger i=johann --- lustre/include/obd_class.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/include/obd_class.h b/lustre/include/obd_class.h index 0b12032..82c3f06 100644 --- a/lustre/include/obd_class.h +++ b/lustre/include/obd_class.h @@ -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) \ -- 1.8.3.1