Josef Bacik
7c777430e8
Btrfs: only check delayed ref usage in should_end_transaction
...
We were only doing btrfs_check_space_for_delayed_refs() if the metadata
space was full, ie we couldn't allocate chunks. This assumes we'll be
able to allocate chunks during transaction commit, but since nothing
does a LIMIT flush during the transaction commit this won't actually
happen unless we happen to run shy of actual space. We already take
into account a full fs in btrfs_check_space_for_delayed_refs() so just
kill this extra check to make sure we're ending the transaction when we
need to.
Signed-off-by: Josef Bacik <jbacik@fb.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2017-10-30 12:28:00 +01:00
..
2017-10-30 12:27:56 +01:00
2017-08-21 17:47:42 +02:00
2017-10-30 12:27:57 +01:00
2017-08-16 14:19:53 +02:00
2017-08-21 17:47:43 +02:00
2017-08-16 16:12:01 +02:00
2017-08-16 16:12:05 +02:00
2017-10-30 12:27:57 +01:00
2016-12-06 16:06:59 +01:00
2017-09-29 12:57:35 -07:00
2017-09-14 17:30:49 -07:00
2017-10-30 12:28:00 +01:00
2017-10-30 12:28:00 +01:00
2016-07-26 13:52:25 +02:00
2017-08-18 16:36:20 +02:00
2017-04-18 14:07:23 +02:00
2017-06-29 20:17:01 +02:00
2017-06-29 20:17:01 +02:00
2017-09-14 18:54:01 -07:00
2017-02-28 14:26:07 +01:00
2017-06-29 20:06:11 +02:00
2017-10-30 12:28:00 +01:00
2017-08-16 16:12:04 +02:00
2017-06-21 19:16:04 +02:00
2017-10-30 12:28:00 +01:00
2017-10-30 12:27:56 +01:00
2017-04-18 14:07:23 +02:00
2017-04-18 14:07:23 +02:00
2017-10-30 12:28:00 +01:00
2017-07-05 16:41:23 -07:00
2017-10-30 12:28:00 +01:00
2017-08-16 16:12:02 +02:00
2017-02-17 12:03:56 +01:00
2017-10-30 12:27:59 +01:00
2017-08-18 16:36:29 +02:00
2017-06-08 17:36:03 +08:00
2016-06-06 14:08:28 +02:00
2016-12-06 16:06:59 +01:00
2017-06-29 20:17:02 +02:00
2016-01-15 19:25:02 +01:00
2017-10-30 12:28:00 +01:00
2017-10-30 12:28:00 +01:00
2017-10-30 12:28:00 +01:00
2016-01-07 14:30:52 +01:00
2017-06-19 18:26:02 +02:00
2017-10-30 12:28:00 +01:00
2017-06-29 20:17:02 +02:00
2017-06-29 20:17:02 +02:00
2017-08-21 17:47:43 +02:00
2017-08-16 16:12:03 +02:00
2017-09-14 17:30:49 -07:00
2017-09-26 14:54:01 +02:00
2017-06-29 20:17:02 +02:00
2017-10-30 12:27:57 +01:00
2016-12-06 16:06:59 +01:00
2017-06-19 18:25:59 +02:00
2017-10-30 12:28:00 +01:00
2017-10-30 12:28:00 +01:00
2017-10-30 12:28:00 +01:00
2017-10-30 12:27:56 +01:00
2017-10-30 12:28:00 +01:00
2017-10-30 12:27:59 +01:00
2017-10-30 12:27:59 +01:00
2017-08-16 14:19:53 +02:00
2017-10-30 12:28:00 +01:00
2017-10-30 12:27:58 +01:00
2017-10-30 12:27:58 +01:00
2017-10-30 12:28:00 +01:00
2017-04-18 14:07:25 +02:00
2017-10-30 12:27:59 +01:00
2017-10-30 12:27:58 +01:00
2015-12-18 02:51:32 +00:00
2017-10-30 12:28:00 +01:00
2017-02-14 15:50:54 +01:00
2017-02-17 12:03:50 +01:00
2017-02-17 12:03:50 +01:00
2016-12-19 18:08:15 +01:00
2017-10-30 12:27:59 +01:00
2017-10-30 12:27:59 +01:00
2017-06-21 19:16:04 +02:00
2016-05-17 19:17:09 -04:00
2017-06-19 18:26:02 +02:00
2017-08-15 09:02:09 -07:00