Files
ack-tegra/include/linux
Mel Gorman a564b8f039 nfs: enable swap on NFS
Implement the new swapfile a_ops for NFS and hook up ->direct_IO.  This
will set the NFS socket to SOCK_MEMALLOC and run socket reconnect under
PF_MEMALLOC as well as reset SOCK_MEMALLOC before engaging the protocol
->connect() method.

PF_MEMALLOC should allow the allocation of struct socket and related
objects and the early (re)setting of SOCK_MEMALLOC should allow us to
receive the packets required for the TCP connection buildup.

[jlayton@redhat.com: Restore PF_MEMALLOC task flags in all cases]
[dfeng@redhat.com: Fix handling of multiple swap files]
[a.p.zijlstra@chello.nl: Original patch]
Signed-off-by: Mel Gorman <mgorman@suse.de>
Acked-by: Rik van Riel <riel@redhat.com>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: David S. Miller <davem@davemloft.net>
Cc: Eric B Munson <emunson@mgebm.net>
Cc: Eric Paris <eparis@redhat.com>
Cc: James Morris <jmorris@namei.org>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Mike Christie <michaelc@cs.wisc.edu>
Cc: Neil Brown <neilb@suse.de>
Cc: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Cc: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: Xiaotian Feng <dfeng@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-07-31 18:42:48 -07:00
..
2012-07-17 15:11:37 -04:00
2012-07-17 19:35:59 -07:00
2012-07-31 18:42:48 -07:00
2012-07-30 17:25:21 -07:00
2012-06-29 11:38:17 -04:00
2012-07-31 18:42:43 -07:00
2012-07-30 17:25:11 -07:00
2012-06-27 15:42:24 -07:00
2012-07-22 23:57:58 +04:00
2012-07-05 15:04:10 +02:00
2012-07-02 15:11:12 +02:00
2012-07-20 11:07:00 -07:00
2012-07-18 08:59:58 -07:00
2012-07-14 16:35:40 +04:00
2012-07-09 16:42:24 -04:00
2012-07-31 18:42:48 -07:00
2012-07-10 10:32:06 -05:00
2012-07-31 18:42:43 -07:00
2012-06-20 14:39:36 -07:00
2012-07-12 07:54:46 -07:00
2012-07-30 17:25:20 -07:00
2012-07-02 13:40:06 +03:00
2012-07-16 22:31:34 -07:00
2012-07-30 17:25:16 -07:00
2012-07-23 00:58:46 -07:00
2012-07-24 23:19:26 -04:00
2012-07-22 23:57:55 +04:00
2012-06-18 13:42:03 +02:00
2012-07-06 20:17:46 -03:00