[lkml]   [2012]   [Jun]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 10/12] nfs: enable swap on NFS
    On 06/20/2012 05:37 AM, Mel Gorman wrote:
    > 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.
    > [ Fix handling of multiple swap files]
    > [ Original patch]
    > Signed-off-by: Mel Gorman<>

    Acked-by: Rik van Riel<>

     \ /
      Last update: 2012-06-20 20:21    [W:0.022 / U:34.908 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site