Whamcloud - gitweb
LU-4423 mem: remove GFP_IOFS 56/18956/4
authorMel Gorman <mgorman@techsingularity.net>
Fri, 1 Apr 2016 23:37:57 +0000 (19:37 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 4 May 2016 15:01:39 +0000 (15:01 +0000)
commitf8b4e51fb85c078ae48c3c14472c520e850a2a2d
treeef685300f93f371e4ac64335e82499ea5f343bc1
parent867a61566f89bb7fe5257fb115ac675e45428a29
LU-4423 mem: remove GFP_IOFS

GFP_IOFS was intended to be shorthand for clearing two flags, not a set of
allocation flags.  There is only one user of this flag combination now and
there appears to be no reason why Lustre had to be protected from reclaim
stalls. As none of the sites appear to be atomic, this patch simply
deletes GFP_IOFS and converts Lustre to using GFP_KERNEL, GFP_NOFS or
GFP_NOIO as appropriate.

Linux-commit : 40113370836e8e79befa585277296ed42781ef31

Change-Id: Ie17d225583f9b48ec2558a85bb6e4e9957010c14
Signed-off-by: Mel Gorman <mgorman@techsingularity.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: http://review.whamcloud.com/18956
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
13 files changed:
libcfs/include/libcfs/linux/linux-mem.h
libcfs/libcfs/tracefile.c
lnet/lnet/router.c
lnet/selftest/conrpc.c
lnet/selftest/rpc.c
lustre/llite/remote_perm.c
lustre/mgc/mgc_request.c
lustre/mgs/mgs_nids.c
lustre/obdecho/echo.c
lustre/obdecho/echo_client.c
lustre/osc/osc_cache.c
lustre/osd-ldiskfs/osd_handler.c
lustre/target/tgt_main.c