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.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, 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 42BDBCA9ECF for ; Fri, 1 Nov 2019 22:07:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 149082085B for ; Fri, 1 Nov 2019 22:07:30 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="TQQ50ozF" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726229AbfKAWH3 (ORCPT ); Fri, 1 Nov 2019 18:07:29 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:53606 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725989AbfKAWH3 (ORCPT ); Fri, 1 Nov 2019 18:07:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:To:From:Sender:Reply-To:Cc:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=fPDpdg7+JxmF8laR7bY1qFJu5se17opi2BcOYfUudQw=; b=TQQ50ozF7Pzo9c5Nq+1kDEHOx lWaNbMOOsDJ+Bh/t8BEyEC5U5pWtfF8+dxTnBtCyrdG+BfGSCPOyrzW7FQxZLPzvGCkZdcdIbMK9G X38tks91/Z4pnVKrQRUHo4PZFFFZ5uRYl8YhUswhHWMF5AN6mFaU2t//IgrfsH/V6/7HzKCYuy5nP T/7OLyl/OivAJAl0gdjhgMLg9AfguBxVd1piAXtCOBy5Hm7WOYeGunBmoFcGNGjaAcX0/nosQqKXU KyaboB6dbuActIdfJQuW/xnrK9rSMXnmd4i/pd+DjJdBiUVI+CGoVvRcT8TLrWNGZa9ymW3hCTHOM bDm7jOyMQ==; Received: from [199.255.44.128] (helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1iQf4r-0005qE-50 for linux-xfs@vger.kernel.org; Fri, 01 Nov 2019 22:07:29 +0000 From: Christoph Hellwig To: linux-xfs@vger.kernel.org Subject: remove m_dirops Date: Fri, 1 Nov 2019 15:06:45 -0700 Message-Id: <20191101220719.29100-1-hch@lst.de> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-xfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-xfs@vger.kernel.org Hi all, this series removes the indirect call to distinguish between the v4 and v5 formats for dir and attrs btree blocks, and for file type enabled vs not enabled formats. Indirect calls have always been rather expensive, and gotten even more so with the spectre workarounds. This series removes almost 700 lines of code and shaves almost 6KB off the size of the xfs module.