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=-7.0 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, UNPARSEABLE_RELAY,USER_AGENT_GIT autolearn=no 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 F02A1C43461 for ; Thu, 3 Sep 2020 20:04:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CC51620897 for ; Thu, 3 Sep 2020 20:04:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728382AbgICUEW (ORCPT ); Thu, 3 Sep 2020 16:04:22 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:57736 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727065AbgICUEW (ORCPT ); Thu, 3 Sep 2020 16:04:22 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: krisman) with ESMTPSA id 09BAF29AEDC From: Gabriel Krisman Bertazi To: viro@zeniv.linux.org.uk Cc: linux-fsdevel@vger.kernel.org, jack@suse.cz, khazhy@google.com, Gabriel Krisman Bertazi , kernel@collabora.com Subject: [PATCH v2 0/3] Unaligned DIO read error path fix and clean ups Date: Thu, 3 Sep 2020 16:04:11 -0400 Message-Id: <20200903200414.673105-1-krisman@collabora.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org Hi, This follows up on my previous submision of "direct-io: defer alignment check until after the EOF check". This version applies the suggestions from Jan Kara (thank you!) and it was tested with xfstests aio group over f2fs and fio workloads. Gabriel Krisman Bertazi (3): direct-io: clean up error paths of do_blockdev_direct_IO direct-io: don't force writeback for reads beyond EOF direct-io: defer alignment check until after the EOF check fs/direct-io.c | 64 ++++++++++++++++++++++++-------------------------- 1 file changed, 31 insertions(+), 33 deletions(-) -- 2.28.0