Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756853AbcLNWyg (ORCPT ); Wed, 14 Dec 2016 17:54:36 -0500 Received: from mail-it0-f50.google.com ([209.85.214.50]:35998 "EHLO mail-it0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753644AbcLNWyd (ORCPT ); Wed, 14 Dec 2016 17:54:33 -0500 To: Linus Torvalds Cc: "linux-block@vger.kernel.org" , "linux-kernel@vger.kernel.org" , linux-fsdevel@vger.kernel.org From: Jens Axboe Subject: [GIT PULL] fs meta data unmap Message-ID: Date: Wed, 14 Dec 2016 15:54:19 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1348 Lines: 38 Hi Linus, A series from Jan Kara, providing a more efficient way for unmapping meta data from in the buffer cache than doing it block-by-block. Provide a general helper that existing callers can use. Please pull! git://git.kernel.dk/linux-block.git for-4.10/fs-unmap ---------------------------------------------------------------- Jan Kara (6): fs: Provide function to unmap metadata for a range of blocks direct-io: Use clean_bdev_aliases() instead of handmade iteration ext4: Use clean_bdev_aliases() instead of iteration ext2: Use clean_bdev_aliases() instead of iteration fs: Add helper to clean bdev aliases under a bh and use it fs: Remove unmap_underlying_metadata fs/buffer.c | 104 +++++++++++++++++++++++++++++++------------- fs/direct-io.c | 28 +++--------- fs/ext2/inode.c | 9 ++-- fs/ext4/extents.c | 13 +----- fs/ext4/inode.c | 18 +++----- fs/ext4/page-io.c | 2 +- fs/mpage.c | 3 +- fs/ntfs/aops.c | 2 +- fs/ntfs/file.c | 5 +-- fs/ocfs2/aops.c | 2 +- fs/ufs/balloc.c | 3 +- fs/ufs/inode.c | 3 +- include/linux/buffer_head.h | 7 ++- 13 files changed, 104 insertions(+), 95 deletions(-) -- Jens Axboe