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=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 4674FC433ED for ; Thu, 6 May 2021 21:08:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2192361078 for ; Thu, 6 May 2021 21:08:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229714AbhEFVJz (ORCPT ); Thu, 6 May 2021 17:09:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52418 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229672AbhEFVJy (ORCPT ); Thu, 6 May 2021 17:09:54 -0400 Received: from zeniv-ca.linux.org.uk (zeniv-ca.linux.org.uk [IPv6:2607:5300:60:148a::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 670C6C061574; Thu, 6 May 2021 14:08:55 -0700 (PDT) Received: from viro by zeniv-ca.linux.org.uk with local (Exim 4.94 #2 (Red Hat Linux)) id 1lelEo-00Bzxy-Ud; Thu, 06 May 2021 21:08:51 +0000 Date: Thu, 6 May 2021 21:08:50 +0000 From: Al Viro To: Jens Axboe Cc: Pavel Begunkov , yangerkun , linux-fsdevel@vger.kernel.org, linux-block@vger.kernel.org, io-uring@vger.kernel.org Subject: Re: [PATCH] block: reexpand iov_iter after read/write Message-ID: References: <20210401071807.3328235-1-yangerkun@huawei.com> <7ff7d1b7-8b6d-a684-1740-6a62565f77b6@gmail.com> <3368729f-e61d-d4b6-f2ae-e17ebe59280e@gmail.com> <3d6904c0-9719-8569-2ae8-dd9694da046b@huawei.com> <05803db5-c6de-e115-3db2-476454b20668@gmail.com> <2ee68ca3-e466-24d4-3766-8c627d94d71e@kernel.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: Al Viro Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org On Thu, May 06, 2021 at 01:15:01PM -0600, Jens Axboe wrote: > Attached output of perf annotate for that last run. Heh... I wonder if keeping the value of iocb_flags(file) in struct file itself would have a visible effect...