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 D7F16CA9EAF for ; Thu, 24 Oct 2019 11:17:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B2C332084C for ; Thu, 24 Oct 2019 11:17:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2408113AbfJXLRi (ORCPT ); Thu, 24 Oct 2019 07:17:38 -0400 Received: from mx2.suse.de ([195.135.220.15]:50824 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2408056AbfJXLRi (ORCPT ); Thu, 24 Oct 2019 07:17:38 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id DC902B4BB; Thu, 24 Oct 2019 11:17:36 +0000 (UTC) Received: by ds.suse.cz (Postfix, from userid 10065) id D99FDDA733; Thu, 24 Oct 2019 13:17:48 +0200 (CEST) Date: Thu, 24 Oct 2019 13:17:48 +0200 From: David Sterba To: Qu Wenruo Cc: linux-btrfs@vger.kernel.org Subject: Re: [PATCH v2] btrfs: Remove btrfs_bio::flags member Message-ID: <20191024111748.GG3001@twin.jikos.cz> Reply-To: dsterba@suse.cz Mail-Followup-To: dsterba@suse.cz, Qu Wenruo , linux-btrfs@vger.kernel.org References: <20191024013829.17931-1-wqu@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191024013829.17931-1-wqu@suse.com> User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org On Thu, Oct 24, 2019 at 09:38:29AM +0800, Qu Wenruo wrote: > This member is not used by any one, just remove it. > > And since it's between two pointers, such removal should save us a > pointer size of the structure. > > The last user of btrfs_bio::flags is removed in commit 326e1dbb5736 > ("block: remove management of bi_remaining when restoring original > bi_end_io"). Oh, that's an old patch, 2015. I'll add a stable tag though it's not a fix but the size reduction of a frequently used structure is a good thing. Thanks.