Btrfs: remove no longer used stuff for tracking pending ordered extents
Tracking pending ordered extents per transaction was introduced in commit50d9aa99bd
("Btrfs: make sure logged extents complete in the current transaction V3") and later updated in commit161c3549b4
("Btrfs: change how we wait for pending ordered extents"). However now that on fsync we always wait for ordered extents to complete before logging, done in commit5636cf7d6d
("btrfs: remove the logged extents infrastructure"), we no longer need the stuff to track for pending ordered extents, which was not completely removed in the mentioned commit. So remove the remaining of the pending ordered extents infrastructure. Reviewed-by: Liu Bo <bo.liu@linux.alibaba.com> Signed-off-by: Filipe Manana <fdmanana@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:

committed by
David Sterba

parent
ce02f03266
commit
85dd506c8e
@@ -56,8 +56,6 @@ struct btrfs_ordered_sum {
|
||||
* the isize. */
|
||||
#define BTRFS_ORDERED_TRUNCATED 8 /* Set when we have to truncate an extent */
|
||||
|
||||
#define BTRFS_ORDERED_PENDING 9 /* We are waiting for this ordered extent to
|
||||
* complete in the current transaction. */
|
||||
#define BTRFS_ORDERED_REGULAR 10 /* Regular IO for COW */
|
||||
|
||||
struct btrfs_ordered_extent {
|
||||
|
Reference in New Issue
Block a user