Skip to content

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

Peter Zijlstra linux-mm lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest21 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/21mm: serialize access to min_free_kbytesmm/page_alloc.c+13 -30 replies
2/21net: vm deadlock avoidance coreinclude/linux/gfp.h include/linux/mmzone.h include/linux/skbuff.h +11 more+263 -270 replies
3/21mm: 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/21mm: 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/21uml: rename arch/um remove_mapping()arch/um/kernel/physmem.c+3 -30 replies
6/21nfs: teach the NFS client how to treat PG_swapcache pagesfs/nfs/dir.c fs/nfs/file.c fs/nfs/pagelist.c +2 more+31 -310 replies
7/21nfs: add a comment explaining the use of PG_private in the NFS clientfs/nfs/write.c+5 -00 replies
8/21nfs: enable swap on NFSfs/nfs/file.c+6 -00 replies
9/21nfs: make swap on NFS robustfs/nfs/file.c include/linux/sunrpc/xprt.h net/sunrpc/sched.c +1 more+51 -40 replies
10/21block: elevator selection and pinningblock/elevator.c block/ll_rw_blk.c include/linux/blkdev.h +1 more+63 -153 replies
11/21nbd: limit blk_queuedrivers/block/nbd.c+6 -12 replies
12/21mm: block device swap notificationinclude/linux/fs.h mm/swapfile.c+8 -00 replies
13/21nbd: use swapdev hook to make swap deadlock freedrivers/block/nbd.c+21 -10 replies
14/21uml: enable scsi and add iscsi configarch/um/Kconfig arch/um/Kconfig.scsi+32 -11 reply
15/21iscsi: kernel side tcp connectdrivers/scsi/iscsi_tcp.c drivers/scsi/libiscsi.c include/scsi/libiscsi.h+84 -440 replies
16/21iscsi: fixup of the ep_connect patchdrivers/scsi/iscsi_tcp.c+26 -80 replies
17/21iscsi: 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
18/21scsi: propagate the swapdev hook into the scsi stackdrivers/scsi/sd.c include/scsi/scsi_host.h+20 -00 replies
19/21netlink: add SOCK_VMIO support to AF_NETLINKinclude/linux/netlink.h net/netlink/af_netlink.c net/socket.c+9 -60 replies
20/21mm: a process flags to avoid blocking allocationsinclude/linux/sched.h mm/page_alloc.c+3 -20 replies
21/21iscsi: support for swapping over iSCSI.drivers/infiniband/ulp/iser/iscsi_iser.c drivers/scsi/iscsi_tcp.c drivers/scsi/libiscsi.c +3 more+128 -300 replies

Reviews trailers per patch

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

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

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/21] vm deadlock avoidance for NBD, NFS and iSCSI (take 6)

--

The latest version of my networked swap patches.

These patches provide robust swap over NFS and iSCSI, and in lesser form also over NBD (NBD cannot reconnect on network failure).

The following test scenario was used (for NFS and iSCSI):
- client A mounts swap device on server B
- client A starts heavy swapper
- server B stops service
- server B floods server A
- server A is wedged;
soft lockup detection messages are given sysrq-m shows free < min
- server B resumes service
- client A is seen to recover.

The iSCSI work depends on their upstream (svn) development work and requires some additional user-space patches.

--
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>