From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 074EAC43381 for ; Mon, 18 Feb 2019 13:03:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D1E1F217F5 for ; Mon, 18 Feb 2019 13:03:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729284AbfBRNDm (ORCPT ); Mon, 18 Feb 2019 08:03:42 -0500 Received: from mx1.redhat.com ([209.132.183.28]:55792 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727417AbfBRNDm (ORCPT ); Mon, 18 Feb 2019 08:03:42 -0500 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A26E02DE418; Mon, 18 Feb 2019 13:03:41 +0000 (UTC) Received: from hades.usersys.redhat.com (unknown [10.40.205.169]) by smtp.corp.redhat.com (Postfix) with ESMTP id B871D600C8; Mon, 18 Feb 2019 13:03:39 +0000 (UTC) From: Carlos Maiolino To: linux-fsdevel@vger.kernel.org Cc: hch@lst.de, darrick.wong@oracle.com, adilger@dilger.ca Subject: [PATCH 0/9 V3] New ->fiemap infrastructure and ->bmap removal Date: Mon, 18 Feb 2019 14:03:22 +0100 Message-Id: <20190218130331.15882-1-cmaiolino@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Mon, 18 Feb 2019 13:03:41 +0000 (UTC) Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org Hi. This is the 3rd version of the complete series with the goal to remove ->bmap interface completely, in lieu of FIEMAP. This new version has been slightly modified in comparison with the second one, based on reviews of the second version. My apologies if I forgot to update anything based on previous discussion. Patch 1-3 have no difference from the previous version, and Christoph's Reviewed-by has been kept. Patch 4 is a V3 of the previous set, Containing just a small update renaming a variable. Patches 5-6 are the same from previous version, including now Christoph's Reviewed-by tahg. Patch 7 contains a merge of patches 7 and 8 from the previous version, a small conflict fix when rebasing on top of linux-next, and a rename of the pointer holding the fiemap callback. Patch 8 is the biggest change in this patchset, and has been flagged as a RFC giving the fact we have not reached a decision on how the replacement of ->bmap by ->fiemap should be done. The patch description has all details. Patch 9 is a V2 from the previous patchset, including removal of iomap unused functions. As always, comments are much appreciated. Cheers Carlos Maiolino (9): fs: Enable bmap() function to properly return errors cachefiles: drop direct usage of ->bmap method. ecryptfs: drop direct calls to ->bmap fibmap: Use bmap instead of ->bmap method in ioctl_fibmap fs: Move start and length fiemap fields into fiemap_extent_info iomap: Remove length and start fields from iomap_fiemap fiemap: Use a callback to fill fiemap extents Use FIEMAP for FIBMAP calls xfs: Get rid of ->bmap drivers/md/md-bitmap.c | 16 ++++-- fs/bad_inode.c | 3 +- fs/btrfs/inode.c | 5 +- fs/cachefiles/rdwr.c | 27 ++++----- fs/ecryptfs/mmap.c | 16 ++---- fs/ext2/ext2.h | 3 +- fs/ext2/inode.c | 6 +- fs/ext4/ext4.h | 3 +- fs/ext4/extents.c | 15 +++-- fs/f2fs/data.c | 10 +++- fs/f2fs/f2fs.h | 3 +- fs/gfs2/inode.c | 5 +- fs/hpfs/file.c | 4 +- fs/inode.c | 106 +++++++++++++++++++++++++++++----- fs/ioctl.c | 126 ++++++++++++++++++++++++++--------------- fs/iomap.c | 40 ++----------- fs/jbd2/journal.c | 22 ++++--- fs/nilfs2/inode.c | 5 +- fs/nilfs2/nilfs.h | 3 +- fs/ocfs2/extent_map.c | 13 ++++- fs/ocfs2/extent_map.h | 3 +- fs/overlayfs/inode.c | 5 +- fs/xfs/xfs_aops.c | 24 -------- fs/xfs/xfs_iops.c | 19 ++++--- fs/xfs/xfs_trace.h | 1 - include/linux/fs.h | 33 +++++++---- include/linux/iomap.h | 2 +- mm/page_io.c | 11 ++-- 28 files changed, 309 insertions(+), 220 deletions(-) -- 2.17.2