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=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 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 ED237C4332B for ; Fri, 20 Mar 2020 14:10:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CC1322072D for ; Fri, 20 Mar 2020 14:10:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726944AbgCTOKp (ORCPT ); Fri, 20 Mar 2020 10:10:45 -0400 Received: from verein.lst.de ([213.95.11.211]:47776 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726866AbgCTOKp (ORCPT ); Fri, 20 Mar 2020 10:10:45 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id C1A2E68B05; Fri, 20 Mar 2020 15:10:42 +0100 (CET) Date: Fri, 20 Mar 2020 15:10:41 +0100 From: Christoph Hellwig To: Omar Sandoval Cc: linux-btrfs@vger.kernel.org, kernel-team@fb.com, Christoph Hellwig Subject: Re: [PATCH 00/15] btrfs: read repair/direct I/O improvements Message-ID: <20200320141041.GA25256@lst.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org Btw, while you touch this code: It seems like btrfs_dio_private.subio_endio is rather pointless, as it is always set to one function for reads and otherwise never set. De-virtualizing this call could help making the code a little faster and easier to understand.