Re: [PATCH 2/2] Btrfs: remove no longer used trans_list member of struct btrfs_ordered_extent

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

 



On Mon, Jun 15, 2020 at 10:36:58AM +0100, fdmanana@xxxxxxxxxx wrote:
> From: Filipe Manana <fdmanana@xxxxxxxx>
> 
> The 'trans_list' member of an ordered extent was used to keep track of the
> ordered extents for which a transaction commit had to wait. These were
> ordered extents that were started and logged by an fsync. However we don't
> do that anymore and before we stopped doing it we changed the approach to
> wait for the ordered extents in commit 161c3549b45aee ("Btrfs: change how
> we wait for pending ordered extents"), which stopped using that list and
> therefore the 'trans_list' member is not used anymore since that commit.
> So just remove it since it's doing nothing and making each ordered extent
> structure waste memory (2 pointers).
> 
> Signed-off-by: Filipe Manana <fdmanana@xxxxxxxx>

Added to misc-next, thanks.



[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