Re: [PATCH 3/9] btrfs: make btrfs_ordered_extent naming consistent with btrfs_file_extent_item

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Dec 02, 2019 at 05:34:19PM -0800, Omar Sandoval wrote:
> From: Omar Sandoval <osandov@xxxxxx>
> 
> 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.



[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux