Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752209AbbBLUih (ORCPT ); Thu, 12 Feb 2015 15:38:37 -0500 Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:32807 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750810AbbBLUig (ORCPT ); Thu, 12 Feb 2015 15:38:36 -0500 Date: Thu, 12 Feb 2015 13:38:32 -0700 From: Jens Axboe To: CC: Subject: [GIT PULL] Backing device changes for 3.20 Message-ID: <20150212203832.GA24835@kernel.dk> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline X-Originating-IP: [192.168.57.29] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.13.68,1.0.33,0.0.0000 definitions=2015-02-12_06:2015-02-12,2015-02-12,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=fb_default_notspam policy=fb_default score=0 kscore.is_bulkscore=2.26927920898845e-11 kscore.compositescore=0 circleOfTrustscore=37.7501936418875 compositescore=0.98609165920913 urlsuspect_oldscore=0.98609165920913 suspectscore=3 recipient_domain_to_sender_totalscore=0 phishscore=0 bulkscore=0 kscore.is_spamscore=0 recipient_to_sender_totalscore=0 recipient_domain_to_sender_domain_totalscore=64355 rbsscore=0.98609165920913 spamscore=0 recipient_to_sender_domain_totalscore=0 urlsuspectscore=0.9 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1402240000 definitions=main-1502120201 X-FB-Internal: deliver Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 7228 Lines: 144 Hi Linus, This pull request contains a cleanup of how the backing device is handled, in preparation for a rework of the life time rules. In this part, the most important change is to split the unrelated nommu mmap flags from it, but also removing a backing_dev_info pointer from the address_space (and inode), and a cleanup of other various minor bits. Christoph did all the work here, I just fixed an oops with pages that have a swap backing. Arnd fixed a missing export, and Oleg killed the lustre backing_dev_info from staging. Last patch was from Al, unexporting parts that are now no longer needed outside. Please pull! git://git.kernel.dk/linux-block.git for-3.20/bdi for you to fetch changes up to 15d0f5ea348b9c4e6d41df294dde38a56a39c7bf: Make super_blocks and sb_lock static (2015-02-02 10:07:59 -0700) ---------------------------------------------------------------- Al Viro (1): Make super_blocks and sb_lock static Arnd Bergmann (1): mtd: export new mtd_mmap_capabilities Christoph Hellwig (12): fs: deduplicate noop_backing_dev_info fs: kill BDI_CAP_SWAP_BACKED fs: introduce f_op->mmap_capabilities for nommu mmap support block_dev: only write bdev inode on close block_dev: get bdev inode bdi directly from the block device nilfs2: set up s_bdi like the generic mount_bdev code fs: export inode_to_bdi and use it in favor of mapping->backing_dev_info fs: remove mapping->backing_dev_info ceph: remove call to bdi_unregister nfs: don't call bdi_unregister fs: don't reassign dirty inodes to default_backing_dev_info fs: remove default_backing_dev_info Jens Axboe (1): fs: make inode_to_bdi() handle NULL inode Oleg Drokin (1): staging/lustre/llite: get rid of backing_dev_info Documentation/nommu-mmap.txt | 8 +- block/blk-core.c | 2 +- drivers/char/mem.c | 64 +++++++------- drivers/char/raw.c | 4 +- drivers/mtd/mtdchar.c | 72 +++------------- drivers/mtd/mtdconcat.c | 10 --- drivers/mtd/mtdcore.c | 81 +++++------------- drivers/mtd/mtdpart.c | 1 - drivers/staging/lustre/lustre/llite/llite_lib.c | 6 +- fs/9p/v9fs.c | 2 +- fs/afs/volume.c | 2 +- fs/aio.c | 13 --- fs/block_dev.c | 37 +++----- fs/btrfs/disk-io.c | 6 +- fs/btrfs/file.c | 2 +- fs/btrfs/inode.c | 6 -- fs/ceph/file.c | 2 +- fs/ceph/inode.c | 2 - fs/ceph/super.c | 20 ++--- fs/char_dev.c | 24 ------ fs/cifs/connect.c | 2 +- fs/cifs/inode.c | 2 - fs/coda/inode.c | 2 +- fs/configfs/configfs_internal.h | 2 - fs/configfs/inode.c | 17 ---- fs/configfs/mount.c | 11 +-- fs/ecryptfs/inode.c | 1 - fs/ecryptfs/main.c | 2 +- fs/exofs/inode.c | 2 - fs/exofs/super.c | 2 +- fs/ext2/ialloc.c | 2 +- fs/ext4/super.c | 2 +- fs/fs-writeback.c | 14 +++- fs/fuse/file.c | 10 +-- fs/fuse/inode.c | 1 - fs/gfs2/aops.c | 2 +- fs/gfs2/glock.c | 1 - fs/gfs2/ops_fstype.c | 1 - fs/gfs2/super.c | 2 +- fs/hugetlbfs/inode.c | 13 --- fs/inode.c | 13 --- fs/kernfs/inode.c | 13 --- fs/kernfs/kernfs-internal.h | 1 - fs/kernfs/mount.c | 1 - fs/ncpfs/inode.c | 3 +- fs/nfs/filelayout/filelayout.c | 2 +- fs/nfs/inode.c | 1 - fs/nfs/internal.h | 1 - fs/nfs/nfs4super.c | 1 - fs/nfs/super.c | 24 ++---- fs/nfs/write.c | 6 +- fs/nilfs2/gcinode.c | 1 - fs/nilfs2/mdt.c | 6 +- fs/nilfs2/page.c | 4 +- fs/nilfs2/page.h | 3 +- fs/nilfs2/super.c | 6 +- fs/ntfs/file.c | 3 +- fs/ocfs2/dlmfs/dlmfs.c | 14 ---- fs/ocfs2/file.c | 2 +- fs/ramfs/file-nommu.c | 7 ++ fs/ramfs/inode.c | 21 +---- fs/romfs/mmap-nommu.c | 10 +++ fs/romfs/super.c | 3 - fs/super.c | 12 +-- fs/ubifs/dir.c | 2 - fs/ubifs/super.c | 5 +- fs/xfs/xfs_file.c | 2 +- include/linux/backing-dev.h | 53 ++---------- include/linux/cdev.h | 2 - include/linux/fs.h | 28 ++++++- include/linux/mtd/mtd.h | 2 + include/trace/events/writeback.h | 12 ++- mm/backing-dev.c | 107 ++++++------------------ mm/fadvise.c | 4 +- mm/filemap.c | 4 +- mm/filemap_xip.c | 3 +- mm/madvise.c | 17 ++-- mm/nommu.c | 69 +++++++-------- mm/page-writeback.c | 29 +++---- mm/readahead.c | 4 +- mm/shmem.c | 24 ++---- mm/swap.c | 2 - mm/swap_state.c | 6 -- mm/truncate.c | 2 +- mm/vmscan.c | 4 +- security/security.c | 13 ++- 86 files changed, 304 insertions(+), 703 deletions(-) -- Jens Axboe -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/