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 D11EFC43603 for ; Tue, 10 Dec 2019 18:22:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B273C20637 for ; Tue, 10 Dec 2019 18:22:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727617AbfLJSW4 (ORCPT ); Tue, 10 Dec 2019 13:22:56 -0500 Received: from mx2.suse.de ([195.135.220.15]:47206 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727558AbfLJSWz (ORCPT ); Tue, 10 Dec 2019 13:22:55 -0500 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 A02B8B242; Tue, 10 Dec 2019 18:22:54 +0000 (UTC) Received: by ds.suse.cz (Postfix, from userid 10065) id 964C0DA727; Tue, 10 Dec 2019 19:22:54 +0100 (CET) Date: Tue, 10 Dec 2019 19:22:52 +0100 From: David Sterba To: Omar Sandoval Cc: linux-btrfs@vger.kernel.org, kernel-team@fb.com Subject: Re: [PATCH 3/9] btrfs: make btrfs_ordered_extent naming consistent with btrfs_file_extent_item Message-ID: <20191210182252.GF3929@twin.jikos.cz> Reply-To: dsterba@suse.cz Mail-Followup-To: dsterba@suse.cz, Omar Sandoval , linux-btrfs@vger.kernel.org, kernel-team@fb.com References: <1a8119f808ba10f315b4b6a37ce27896f1b113a4.1575336815.git.osandov@fb.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1a8119f808ba10f315b4b6a37ce27896f1b113a4.1575336815.git.osandov@fb.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 Mon, Dec 02, 2019 at 05:34:19PM -0800, Omar Sandoval wrote: > From: Omar Sandoval > > ordered->start, ordered->len, and ordered->disk_len correspond to > fi->disk_bytenr, fi->num_bytes, and fi->disk_num_bytes, respectively. > It's confusing to translate between the two naming schemes. Since a > btrfs_ordered_extent is basically a pending btrfs_file_extent_item, > let's make the former use the naming from the latter. > > Note that I didn't touch the names in tracepoints just in case there are > scripts depending on the current naming. Ok, though we've changed tracepoint strings as needed, it's sort of ABI but also not. In this case the change would affect 4 tracepoints.