Omar Sandoval
f7e9e8fc79
Btrfs: stop creating orphan items for truncate
...
Currently, we insert an orphan item during a truncate so that if there's
a crash, we don't leak extents past the on-disk i_size. However, since
commit 7f4f6e0a3f
("Btrfs: only update disk_i_size as we remove
extents"), we keep disk_i_size in sync with the extent items as we
truncate, so orphan cleanup will never have any extents to remove. Don't
bother with the superfluous orphan item.
Reviewed-by: Josef Bacik <jbacik@fb.com >
Signed-off-by: Omar Sandoval <osandov@fb.com >
Signed-off-by: David Sterba <dsterba@suse.com >
2018-05-28 18:23:46 +02:00
..
2018-05-28 18:07:35 +02:00
2018-04-12 16:29:51 +02:00
2018-04-12 16:29:51 +02:00
2018-04-12 16:29:46 +02:00
2018-04-12 16:29:51 +02:00
2018-04-12 16:29:46 +02:00
2018-04-12 16:29:46 +02:00
2018-04-12 16:29:51 +02:00
2018-04-12 16:29:46 +02:00
2018-05-28 18:23:09 +02:00
2018-04-12 16:29:46 +02:00
2018-05-17 14:18:25 +02:00
2018-05-28 18:23:20 +02:00
2018-04-12 16:29:46 +02:00
2018-05-28 18:23:09 +02:00
2018-04-12 16:29:46 +02:00
2018-05-28 18:07:32 +02:00
2018-05-28 18:07:20 +02:00
2018-05-28 18:23:16 +02:00
2018-04-12 16:29:46 +02:00
2018-04-12 16:29:51 +02:00
2018-05-28 18:07:36 +02:00
2018-04-12 16:29:46 +02:00
2018-04-12 16:29:51 +02:00
2018-04-12 16:29:46 +02:00
2018-05-28 18:07:20 +02:00
2018-05-28 18:07:20 +02:00
2018-05-28 18:07:17 +02:00
2018-05-28 18:07:17 +02:00
2018-05-28 18:23:42 +02:00
2018-04-12 16:29:51 +02:00
2018-04-18 16:46:57 +02:00
2018-05-28 18:23:46 +02:00
2018-04-12 16:29:46 +02:00
2018-05-28 18:07:36 +02:00
2018-05-28 18:07:36 +02:00
2018-04-12 16:29:51 +02:00
2018-04-12 16:29:51 +02:00
2018-04-12 16:29:46 +02:00
2018-05-28 18:23:46 +02:00
2018-05-28 18:23:32 +02:00
2018-04-12 16:29:55 +02:00
2018-05-28 18:23:09 +02:00
2018-04-12 16:29:46 +02:00
2018-04-12 16:29:51 +02:00
2018-03-26 15:09:39 +02:00
2018-04-12 16:29:46 +02:00
2018-05-28 18:23:09 +02:00
2018-04-12 16:29:46 +02:00
2018-04-12 16:29:51 +02:00
2018-05-28 18:07:26 +02:00
2018-04-20 19:18:16 +02:00
2018-05-17 14:18:25 +02:00
2018-04-12 16:29:46 +02:00
2018-05-28 18:23:03 +02:00
2018-04-12 16:29:46 +02:00
2018-04-12 16:29:51 +02:00
2018-04-12 16:29:46 +02:00
2018-04-12 16:29:46 +02:00
2018-04-12 16:29:51 +02:00
2018-04-12 16:29:51 +02:00
2018-04-12 16:29:46 +02:00
2018-05-28 18:07:27 +02:00
2018-04-12 16:29:51 +02:00
2018-05-28 18:07:28 +02:00
2018-05-28 18:07:32 +02:00
2018-04-12 16:29:46 +02:00
2018-04-12 16:29:51 +02:00
2018-05-28 18:07:30 +02:00
2018-05-28 18:23:41 +02:00
2018-05-28 18:23:39 +02:00
2018-05-28 18:23:09 +02:00
2018-04-18 16:46:47 +02:00
2018-04-12 16:29:51 +02:00
2018-04-12 16:29:46 +02:00
2018-04-12 16:29:51 +02:00
2018-05-28 18:23:09 +02:00
2018-04-12 16:29:46 +02:00
2018-04-12 16:29:51 +02:00
2018-04-12 16:29:46 +02:00
2018-04-12 16:29:51 +02:00
2018-05-28 18:23:38 +02:00
2018-05-28 18:07:30 +02:00
2018-04-12 16:29:51 +02:00
2018-04-12 16:29:46 +02:00
2018-04-12 16:29:51 +02:00
2018-04-12 16:29:51 +02:00