Skip to content

vm deadlock avoidance for NFS, NBD and iSCSI (take 7)

Peter Zijlstra linux-mm lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest20 patches 16 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/20mm: serialize access to min_free_kbytesmm/page_alloc.c+13 -30 replies
2/20net: vm deadlock avoidance coreinclude/linux/gfp.h include/linux/mmzone.h include/linux/skbuff.h +11 more+263 -270 replies
3/20mm: add support for non block device backed swap filesfs/buffer.c include/linux/fs.h include/linux/swap.h +4 more+103 -20 replies
4/20mm: methods for teaching filesystems about PG_swapcache pagesinclude/linux/mm.h include/linux/pagemap.h include/linux/swap.h +1 more+79 -450 replies
5/20uml: rename arch/um remove_mapping()arch/um/kernel/physmem.c+3 -30 replies
6/20nfs: teach the NFS client how to treat PG_swapcache pagesfs/nfs/file.c fs/nfs/pagelist.c fs/nfs/read.c +1 more+26 -260 replies
7/20nfs: add a comment explaining the use of PG_private in the NFS clientfs/nfs/write.c+5 -00 replies
8/20nfs: enable swap on NFSfs/nfs/file.c+6 -00 replies
9/20nfs: make swap on NFS robustfs/nfs/file.c include/linux/sunrpc/xprt.h net/sunrpc/sched.c +1 more+54 -40 replies
10/20mm: block device swap notificationinclude/linux/fs.h mm/swapfile.c+8 -00 replies
11/20nbd: request_fn fixupdrivers/block/nbd.c+18 -133 replies
12/20nbd: limit blk_queuedrivers/block/nbd.c+3 -01 reply
13/20nbd: use swapdev hook to make swap deadlock freedrivers/block/nbd.c+31 -50 replies
14/20uml: enable scsi and add iscsi configarch/um/Kconfig arch/um/Kconfig.scsi+1 -730 replies
15/20iscsi: kernel side tcp connectdrivers/scsi/iscsi_tcp.c+83 -250 replies
16/20iscsi: add session context to ep_connectdrivers/infiniband/ulp/iser/iscsi_iser.c drivers/scsi/iscsi_tcp.c drivers/scsi/scsi_transport_iscsi.c +2 more+10 -40 replies
17/20scsi: propagate the swapdev hook into the scsi stackdrivers/scsi/sd.c include/scsi/scsi_host.h+20 -00 replies
18/20netlink: add SOCK_VMIO support to AF_NETLINKinclude/linux/netlink.h net/compat.c net/netlink/af_netlink.c +1 more+10 -70 replies
19/20mm: a process flags to avoid blocking allocationsinclude/linux/sched.h mm/page_alloc.c+3 -20 replies
20/20iscsi: support for swapping over iSCSI.drivers/scsi/iscsi_tcp.c drivers/scsi/scsi_transport_iscsi.c include/scsi/libiscsi.h +1 more+113 -1610 replies

Reviews trailers per patch

2 of 20 patches have a Reviewed-by or Acked-by.

PatchJeff Dike
1/20
2/20
3/20
4/20
5/20A-b
6/20
7/20
8/20
9/20
10/20
11/20
12/20
13/20
14/20A-b
15/20
16/20
17/20
18/20
19/20
20/20

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/20] vm deadlock avoidance for NFS, NBD and iSCSI (take 7)

--

Yet another instance of my networked swap patches.

The patch-set consists of four parts:

- patches 1-2; the basic 'framework' for deadlock avoidance
- patches 3-9; implement swap over NFS
- patches 10-13; implement swap over NBD
- patches 14-20; implement swap over iSCSI

The iSCSI work depends on their .19 tree and does need some more work, but does work in its current state.

As stated in previous posts, NFS and iSCSI survive service failures and reconnect properly during heavy swapping.

Linus, when I mentioned swap over network to you in Ottawa, you said it was a valid use case, that people actually do and want this. Can you agree with the approach taken in these patches?

Peter

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>