Skip to content

Buffered write deadlock fix and new aops for 2.6.21-mm2

[email protected] linux-ext4 linux-fsdevel linux-mm reiserfs-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest41 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/41mm: revert KERNEL_DS buffered write optimisationmm/filemap.c+13 -190 replies
2/41Revert 81b0c8713385ce1b1b9058e916edcf9561ad76d6mm/filemap.c mm/filemap.h+3 -102 replies
3/41Revert 6527c2bdf1f833cc18e8f42bd97973d583e4aa83mm/filemap.c+7 -110 replies
4/41mm: clean up buffered write codemm/filemap.c+18 -170 replies
5/41mm: debug write deadlocksmm/filemap.c+2 -00 replies
6/41mm: trim more holesmm/filemap.c+40 -400 replies
7/41mm: buffered write cleanupfs/mpage.c mm/filemap.c mm/readahead.c+66 -1120 replies
8/41mm: write iovec cleanupmm/filemap.c mm/filemap.h mm/filemap_xip.c+69 -880 replies
9/41mm: fix pagecache write deadlocksinclude/linux/pagemap.h mm/filemap.c+112 -210 replies
10/41mm: buffered write iteratorinclude/linux/fs.h mm/filemap.c mm/filemap.h+150 -1300 replies
11/41fs: fix data-loss on errorfs/buffer.c+2 -00 replies
12/41fs: introduce write_begin, write_end, and perform_write aopsDocumentation/filesystems/Locking Documentation/filesystems/vfs.txt drivers/block/loop.c +9 more+573 -2020 replies
13/41mm: restore KERNEL_DS optimisationsmm/filemap.c+9 -20 replies
14/41implement simple fs aopsfs/configfs/inode.c fs/hugetlbfs/inode.c fs/ramfs/file-mmu.c +3 more+46 -210 replies
15/41block_dev convert to new aops.fs/block_dev.c+19 -70 replies
16/41rd convert to new aops.drivers/block/rd.c+73 -520 replies
17/41ext2 convert to new aops.fs/ext2/dir.c fs/ext2/ext2.h fs/ext2/inode.c+45 -291 reply
18/41ext3 convert to new aops.fs/ext3/inode.c+88 -480 replies
19/41ext4 convert to new aops.fs/ext4/inode.c+93 -540 replies
20/41xfs convert to new aops.fs/xfs/linux-2.6/xfs_aops.c fs/xfs/linux-2.6/xfs_lrw.c+24 -300 replies
21/41fs: new cont helpersfs/buffer.c include/linux/buffer_head.h include/linux/fs.h +1 more+105 -1040 replies
22/41fat convert to new aops.fs/fat/inode.c+16 -110 replies
23/41adfs convert to new aops.fs/adfs/inode.c+9 -50 replies
24/41hfs convert to new aops.fs/hfs/extent.c fs/hfs/inode.c+20 -190 replies
25/41hfsplus convert to new aops.fs/hfsplus/extents.c fs/hfsplus/inode.c+21 -200 replies
26/41hpfs convert to new aops.fs/hpfs/file.c+14 -60 replies
27/41bfs convert to new aops.fs/bfs/file.c+8 -40 replies
28/41qnx4 convert to new aops.fs/qnx4/inode.c+13 -81 reply
29/41reiserfs use generic write.fs/reiserfs/file.c+1 -12390 replies
30/41reiserfs convert to new aops.fs/reiserfs/inode.c+157 -00 replies
31/41nfs convert to new aops.fs/nfs/file.c+36 -130 replies
32/41smb convert to new aops.fs/smbfs/file.c+25 -90 replies
33/41GFS2 convert to new aops.fs/gfs2/ops_address.c+125 -840 replies
34/41fuse convert to new aops.fs/fuse/file.c+33 -150 replies
35/41hostfs convert to new aops.fs/hostfs/hostfs_kern.c+28 -420 replies
36/41jffs2 convert to new aops.fs/jffs2/file.c+66 -390 replies
37/41ufs convert to new aops.fs/ufs/dir.c fs/ufs/inode.c+50 -230 replies
38/41udf convert to new aops.fs/udf/file.c fs/udf/inode.c+20 -230 replies
39/41sysv convert to new aops.fs/sysv/dir.c fs/sysv/itree.c+44 -240 replies
40/41minix convert to new aops.fs/minix/dir.c fs/minix/inode.c+44 -220 replies
41/41jfs convert to new aops.fs/jfs/inode.c+11 -80 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [patch 00/41] Buffered write deadlock fix and new aops for 2.6.21-mm2
Signature · 13 lines
Here is an update against 2.6.21-mm2. Unfortunately UML broke for me, so
test coverage isn't so good as the last time I posted the series. Also,
several filesystems had significant clashes. Considering the amount of
time it took to get them working, I won't fix them again. They aren't
_broken_ as such, they'll just run slowly (but without the deadlock).

The OCFS2 patch seemed to have some clashes too, so I've left that out.
I'm sure Mark will take a look at that quickly if this patchset were to
get merged.

Thanks to Neil for some documentation suggestions and catching a bug, and
to Vladimir for the reiserfs implementation (not 100% done yet, but it is
a good start).