From: Jan Blunck Subject: [RFC 0/3] Remove BKL from fs/ Date: Wed, 30 Sep 2009 17:30:01 +0200 Message-ID: <1254324604-20243-1-git-send-email-jblunck@suse.de> To: linux-fsdevel@vger.kernel.org Return-path: Received: from cantor.suse.de ([195.135.220.2]:41941 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752896AbZI3PaB (ORCPT ); Wed, 30 Sep 2009 11:30:01 -0400 Received: from relay1.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 030275362F for ; Wed, 30 Sep 2009 17:30:04 +0200 (CEST) Sender: linux-fsdevel-owner@vger.kernel.org List-ID: During the Realtime Linux Workshop there was discussion about removing the BKL entirely. I've started working on this for some filesystems. My plan is to push the BKL down to the implementations and remove it from there one after the other. Comments? Jan Blunck (3): BKL pushdown from do_new_mount() to the filesystems BKL: remove from ext2 BKL: Remove default_llseek() fs/9p/vfs_super.c | 9 +++++- fs/adfs/super.c | 8 ++++- fs/affs/super.c | 9 +++++- fs/afs/super.c | 5 +++ fs/autofs4/inode.c | 4 ++ fs/befs/linuxvfs.c | 4 ++ fs/bfs/inode.c | 9 +++++- fs/binfmt_misc.c | 6 +++- fs/btrfs/super.c | 8 ++++- fs/cifs/cifsfs.c | 12 ++++++- fs/coda/inode.c | 8 ++++- fs/configfs/mount.c | 5 +++ fs/cramfs/inode.c | 8 ++++- fs/devpts/inode.c | 13 ++++++- fs/ecryptfs/main.c | 3 ++ fs/efs/super.c | 10 +++++- fs/exofs/super.c | 7 +++- fs/ext2/inode.c | 5 +-- fs/ext2/super.c | 72 +++++++++++++++++++++++++++++------------- fs/ext3/super.c | 4 -- fs/ext4/super.c | 9 +++-- fs/fat/namei_msdos.c | 6 +++- fs/fat/namei_vfat.c | 6 +++- fs/freevxfs/vxfs_super.c | 7 +++- fs/fuse/control.c | 9 +++++- fs/fuse/inode.c | 4 ++ fs/gfs2/ops_fstype.c | 9 +++++ fs/hfs/super.c | 8 ++++- fs/hfsplus/super.c | 8 ++++- fs/hostfs/hostfs_kern.c | 4 ++ fs/hpfs/super.c | 8 ++++- fs/hppfs/hppfs.c | 6 +++- fs/hugetlbfs/inode.c | 11 +++++- fs/isofs/inode.c | 8 ++++- fs/jffs2/super.c | 11 +++++- fs/jfs/super.c | 14 +++++++- fs/libfs.c | 9 +++++- fs/minix/inode.c | 8 ++++- fs/namespace.c | 2 - fs/ncpfs/inode.c | 8 ++++- fs/nfs/super.c | 19 +++++++++++ fs/nfsd/nfsctl.c | 7 +++- fs/nilfs2/super.c | 9 +++++- fs/ntfs/super.c | 5 +++ fs/ocfs2/dlm/dlmfs.c | 8 ++++- fs/ocfs2/super.c | 5 +++ fs/omfs/inode.c | 7 +++- fs/openpromfs/inode.c | 4 ++ fs/proc/inode.c | 2 +- fs/proc/root.c | 9 +++++- fs/qnx4/inode.c | 8 ++++- fs/ramfs/inode.c | 4 ++ fs/read_write.c | 32 +------------------ fs/reiserfs/super.c | 4 ++ fs/romfs/super.c | 9 +++++- fs/smbfs/inode.c | 5 +++ fs/squashfs/super.c | 6 +++ fs/sysfs/mount.c | 5 +++ fs/sysv/super.c | 24 +++++++++++--- fs/ubifs/super.c | 5 +++ fs/udf/super.c | 8 ++++- fs/ufs/super.c | 5 +++ fs/xfs/linux-2.6/xfs_super.c | 4 ++ include/linux/ext2_fs_sb.h | 1 + 64 files changed, 447 insertions(+), 112 deletions(-)