Skip to content

Repost of old VFS BKL patchkit

Andi Kleen lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11Remove BKL from remote_llseekfs/cifs/cifsfs.c fs/gfs2/ops_file.c fs/ncpfs/file.c +4 more+34 -115 replies
2/11Add unlocked_fasyncDocumentation/filesystems/vfs.txt fs/fcntl.c fs/ioctl.c +1 more+32 -97 replies
3/11Convert pipe over to unlocked_fasyncfs/pipe.c+6 -60 replies
4/11Convert socket fasync to unlocked_fasyncnet/socket.c+1 -10 replies
5/11Convert fuse to unlocked_fasyncfs/fuse/dev.c+1 -10 replies
6/11Convert bad_inode to unlocked_fasyncfs/bad_inode.c+1 -10 replies
7/11Convert DRM to unlocked_fasyncdrivers/char/drm/i810_dma.c drivers/char/drm/i810_drv.c drivers/char/drm/i830_dma.c +9 more+12 -120 replies
8/11Use unlocked_fasync in random.cdrivers/char/random.c+2 -20 replies
9/11Convert hpet to unlocked_fasyncdrivers/char/hpet.c+1 -10 replies
10/11Use unlocked_fasync in RTCdrivers/char/rtc.c+1 -10 replies
11/11Convert uio to fasync_unlocked+0 -02 replies

Reviews trailers per patch

1 of 11 patches has a Reviewed-by or Acked-by.

PatchHans J. Koch
1/11
2/11
3/11
4/11
5/11
6/11
7/11
8/11
9/11
10/11
11/11A-b

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] [0/11] Repost of old VFS BKL patchkit

Since BKL removal seems to be en-vogue again here's the repost of the unapplied parts of my older VFS BKL patchkit.

Main difference is port to 2.6.26-rc2 and more fasync conversins.

- Converts remote_llseek to be BKL less. This will either eliminate or push it down in a couple of network file systems (SMBFS, CIFS, OCFS2, NCPFS, NFS)
- Converts file flags handling to i_mutex
[BTW while looking over the tree I think there are a few races in this regard in there anyways. Not all people who modify that take BKL. Auditing all of them is a separate project. No difference before/after my patch]
- Adds unlocked_fasync
- Converts lots of fasync users to unlocked_fasync

-Andi