Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp989144pxv; Thu, 15 Jul 2021 22:09:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyg041vWCSYbI4TidyphWcd9sYgPRDQLv0O8/MYnZaLiVEy/mMzSeZBenF/+l1mWZ3H4LEU X-Received: by 2002:a17:906:4d08:: with SMTP id r8mr9539560eju.464.1626412162692; Thu, 15 Jul 2021 22:09:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626412162; cv=none; d=google.com; s=arc-20160816; b=px4MFpdG+BiTzDKCELQ7Y7lWTvp6S6DSESFx7GNNuxQWBv15cCqMV/0/oTUWl4vm5P Cx8sJIuaWgcjFEm3X0tnz52WaaONR/6n6Y5maBC4wAOtQOIFzsAWIuyEuA0ep3Kpzbf5 TnoiTs9zIsha6U6EFC8WOE2ekF/980lWTP++EcS8bMUzAYpbqMDtDNHqpA6llZBw/2jO FiZCZz0zvMlbHnI4fBg/ttEUt3Uy0I0H4uMTxfvGSdqPCM0qhIKLNiNCld1q2AZio510 fh/PJGiOu0ucObq2/Vs2Zyy0HO4dj9DHIrQkfYA89kZNqzkp6+UGu5EhV5N2FF8sg5ze Lxlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=Ifl3KZqxulMfUqs5M/BLrQNT489d0EivZFWkX1UnbWM=; b=D3RG1Mqfk21d1U9bx6lZuWQqDlLbdZkSBtPEv54BwIsVr7utCYB9fKHCNzbGYY1qCp Ra4T5NZqC/Pknmv+O+ajN0aqJTsfo0sBSPGQBuWHRW+D+c3zEkkIblaoL9zONkTRccuF FElKA68L9ZZ4cUSK7grzc9JBMeEbckOW4Am1+rjk4t92hDKTaUDxZ5IztUtiTvzSZfxe 5QUKnQ9p54NSLwMqOUwggcQbSLuvptrZRfLm3yGqQ3mX56EVS/k1TC/p4wY4R3QQOnfu co5pER3c77qaABqGNRrRrTLWvlMm/jLlLWX10M4tonuQutLG9UcbNaMUar0ZSxgp6Kjg QZFA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f10si6045057ejh.351.2021.07.15.22.08.59; Thu, 15 Jul 2021 22:09:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232300AbhGPFKf (ORCPT + 99 others); Fri, 16 Jul 2021 01:10:35 -0400 Received: from out30-42.freemail.mail.aliyun.com ([115.124.30.42]:44440 "EHLO out30-42.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229775AbhGPFKf (ORCPT ); Fri, 16 Jul 2021 01:10:35 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R521e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04395;MF=hsiangkao@linux.alibaba.com;NM=1;PH=DS;RN=10;SR=0;TI=SMTPD_---0UfwgDyq_1626412048; Received: from e18g09479.et15sqa.tbsite.net(mailfrom:hsiangkao@linux.alibaba.com fp:SMTPD_---0UfwgDyq_1626412048) by smtp.aliyun-inc.com(127.0.0.1); Fri, 16 Jul 2021 13:07:39 +0800 From: Gao Xiang To: linux-erofs@lists.ozlabs.org, linux-fsdevel@vger.kernel.org Cc: LKML , "Darrick J. Wong" , Christoph Hellwig , Chao Yu , Liu Bo , Joseph Qi , Liu Jiang , Gao Xiang Subject: [PATCH 0/2] erofs: iomap support for tailpacking cases Date: Fri, 16 Jul 2021 13:07:22 +0800 Message-Id: <20210716050724.225041-1-hsiangkao@linux.alibaba.com> X-Mailer: git-send-email 2.24.4 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi folks, non-tailpacking I/O: https://lore.kernel.org/r/20210712120241.199903-1-hsiangkao@linux.alibaba.com This patchset is a follow-up patchset of the previous patchset and interacts with iomap itself, whcih mainly adds preliminary EROFS iomap support for all tackpacking inline cases and has been preliminary tested myself. It only covers iomap read path. The write path remains untouched and bail out with -EIO if inline data with pos != 0 since EROFS cannot be used for actual testing. It'd be better to be implemented if upcoming fs users care rather than leave untested dead code around in kernel. Hopefully [PATCH 1/2] could be landed in iomap for-next independently since it has few changes / iomap-specific and the rest patches can be rebased upon iomap for-next then. Comments are welcome. Thanks for your time on reading this! Thanks, Gao Xiang Gao Xiang (2): iomap: support tail packing inline read erofs: convert all uncompressed cases to iomap fs/erofs/data.c | 288 +++++++---------------------------------- fs/iomap/buffered-io.c | 41 +++++- fs/iomap/direct-io.c | 8 +- 3 files changed, 90 insertions(+), 247 deletions(-) -- 2.24.4