Josef Bacik
d456c25dbb
btrfs: push lock_extent down in cow_file_range()
...
Now that we've got the extent lock pushed into cow_file_range() we can
push it further down into the allocation loop. This allows us to only
hold the extent lock during the dropping of the extent map range and
inserting the ordered extent.
This makes the error case a little trickier as we'll now have to lock
the range before clearing any of the other extent bits for the range,
but this is the error path so is less performance critical.
Reviewed-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2024-05-07 21:31:10 +02:00
..
2024-04-22 15:34:27 +00:00
2024-03-12 20:32:19 -07:00
2024-02-26 11:36:28 +01:00
2024-03-14 12:13:21 +01:00
2024-01-11 20:11:35 -08:00
2024-04-28 21:34:29 -04:00
2024-03-12 20:32:19 -07:00
2024-03-12 20:32:19 -07:00
2024-05-07 21:31:10 +02:00
2024-02-20 09:46:07 +01:00
2024-04-11 22:56:28 +02:00
2024-03-12 20:32:19 -07:00
2024-03-27 13:17:15 +01:00
2024-03-12 13:17:36 -07:00
2024-03-07 22:08:15 +00:00
2023-12-28 04:57:57 -08:00
2024-03-18 15:39:48 -07:00
2024-01-23 17:56:30 +01:00
2024-02-25 09:43:39 +01:00
2024-02-27 11:21:33 +01:00
2024-04-28 20:36:52 +08:00
2024-03-21 09:47:12 -07:00
2024-01-23 10:58:56 -05:00
2024-03-13 14:30:58 -07:00
2024-03-27 13:17:15 +01:00
2024-03-27 13:17:15 +01:00
2024-03-14 18:03:09 -07:00
2024-03-12 20:32:19 -07:00
2024-04-15 11:02:10 +02:00
2024-03-25 10:53:39 -07:00
2023-12-29 11:58:34 -08:00
2024-03-11 09:38:17 -07:00
2023-12-21 12:51:00 -05:00
2024-03-12 20:32:19 -07:00
2024-03-11 09:38:17 -07:00
2024-03-04 18:35:21 +01:00
2024-03-12 20:32:19 -07:00
2024-01-04 23:42:21 -05:00
2024-03-12 20:32:19 -07:00
2024-03-27 13:17:15 +01:00
2024-04-14 06:55:46 -04:00
2024-03-12 14:27:37 -07:00
2024-02-27 11:21:32 +01:00
2024-04-26 14:56:18 +02:00
2024-04-29 12:07:37 -07:00
2024-04-29 14:22:24 -07:00
2024-04-16 15:39:52 -07:00
2024-03-07 12:59:51 +01:00
2024-04-23 09:39:07 +02:00
2024-03-14 18:03:09 -07:00
2024-02-27 11:21:32 +01:00
2024-02-14 15:57:53 -05:00
2024-03-17 15:59:41 +02:00
2024-04-24 19:34:26 -07:00
2024-03-09 12:33:22 -08:00
2024-03-12 20:32:19 -07:00
2024-02-27 11:21:32 +01:00
2024-03-12 20:32:19 -07:00
2024-01-26 09:08:16 -08:00
2024-03-27 13:17:15 +01:00
2024-03-27 13:17:15 +01:00
2024-04-25 12:49:50 -05:00
2024-04-16 15:39:50 -07:00
2024-04-11 15:16:48 +02:00
2024-02-27 11:21:31 +01:00
2024-05-04 04:25:37 -04:00
2024-03-21 15:09:29 -07:00
2024-03-12 20:32:19 -07:00
2024-03-12 20:32:19 -07:00
2024-04-03 16:06:39 +02:00
2024-03-12 17:44:08 -07:00
2024-04-06 09:14:18 -07:00
2024-04-10 07:23:47 +09:00
2024-04-05 11:20:28 +02:00
2023-11-14 08:31:31 -05:00
2024-03-12 20:03:34 -07:00
2024-02-02 13:11:50 +01:00
2024-03-21 20:20:52 -07:00
2023-10-30 19:28:19 -10:00
2024-03-11 10:07:03 -07:00
2023-11-02 20:53:31 -10:00
2024-03-06 10:52:12 +01:00
2023-11-18 15:00:01 +01:00
2024-03-11 09:38:17 -07:00
2024-02-06 14:31:05 +01:00
2024-02-08 10:12:26 +01:00
2024-05-05 14:00:48 -07:00
2024-03-27 09:57:30 -07:00
2024-03-11 10:07:03 -07:00
2024-01-22 15:33:38 +01:00
2024-03-12 20:03:34 -07:00
2023-12-12 14:24:14 +01:00
2024-02-02 13:11:50 +01:00
2024-01-22 15:33:38 +01:00
2024-03-15 09:00:09 -07:00
2024-03-13 12:53:53 -07:00
2024-04-09 12:03:49 +02:00
2024-03-14 17:43:30 -07:00
2024-03-13 12:53:53 -07:00
2024-02-20 09:53:33 +01:00
2024-03-11 10:21:06 -07:00
2024-02-27 11:21:31 +01:00
2024-02-08 10:12:37 +01:00
2023-11-18 14:56:16 +01:00
2024-02-06 14:31:05 +01:00
2024-04-03 10:21:32 -07:00
2024-02-07 21:16:29 +01:00
2024-03-13 12:53:53 -07:00
2024-03-12 20:03:34 -07:00
2024-03-13 12:53:53 -07:00
2024-02-02 13:11:49 +01:00
2023-11-18 14:56:16 +01:00
2024-03-12 20:03:34 -07:00
2023-11-18 14:56:16 +01:00
2023-12-12 16:20:02 +01:00
2023-12-12 16:20:02 +01:00
2024-02-06 17:07:21 +01:00
2024-02-20 09:23:52 +01:00
2023-12-12 16:20:02 +01:00
2024-01-08 10:57:34 -08:00
2024-03-27 13:17:15 +01:00
2023-12-28 04:57:57 -08:00
2024-02-22 15:27:20 -08:00
2024-02-15 23:43:47 -05:00