Darrick J. Wong
1f1397b721
xfs: don't allocate into the data fork for an unshare request
...
For an unshare request, we only have to take action if the data fork has
a shared mapping. We don't care if someone else set up a cow operation.
If we find nothing in the data fork, return a hole to avoid allocating
space.
Note that fallocate will replace the delalloc reservation with an
unwritten extent anyway, so this has no user-visible effects outside of
avoiding unnecessary updates.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
2023-05-02 09:14:51 +10:00
..
2023-05-02 09:14:36 +10:00
2023-05-02 09:14:43 +10:00
2023-04-11 19:05:19 -07:00
2022-01-15 16:30:29 +02:00
2021-10-22 16:00:31 -07:00
2023-04-11 19:00:38 -07:00
2023-01-19 09:24:28 +01:00
2023-01-19 09:24:27 +01:00
2023-03-05 15:13:23 -08:00
2022-07-20 16:40:39 -07:00
2022-10-31 08:58:20 -07:00
2022-05-23 08:43:46 +10:00
2022-07-09 15:17:21 -07:00
2022-07-14 12:14:33 -06:00
2023-04-11 18:59:58 -07:00
2021-10-22 16:04:20 -07:00
2023-04-12 15:49:44 +10:00
2022-11-29 09:09:17 +11:00
2023-04-12 15:49:23 +10:00
2022-11-30 09:25:46 -08:00
2022-04-21 10:46:40 +10:00
2022-11-30 08:55:18 -08:00
2022-07-20 16:40:39 -07:00
2023-04-11 19:05:05 -07:00
2023-03-19 09:55:49 -07:00
2022-10-04 16:39:58 +11:00
2023-02-13 09:14:54 +11:00
2021-08-19 10:07:12 -07:00
2021-08-06 11:05:36 -07:00
2021-08-06 11:05:36 -07:00
2023-04-12 15:48:59 +10:00
2022-05-11 17:12:09 +10:00
2023-04-11 18:59:59 -07:00
2023-04-11 18:59:59 -07:00
2023-02-10 08:59:48 -08:00
2023-02-09 18:36:17 -08:00
2021-08-19 10:07:13 -07:00
2023-01-05 07:34:21 -08:00
2023-04-11 18:59:58 -07:00
2022-10-31 08:58:20 -07:00
2023-02-23 17:09:35 -08:00
2023-02-13 09:14:56 +11:00
2023-02-13 09:14:56 +11:00
2023-02-14 17:51:35 -08:00
2022-08-05 16:32:45 -07:00
2023-02-09 18:36:17 -08:00
2021-08-19 10:07:13 -07:00
2023-04-11 19:00:21 -07:00
2023-04-11 19:00:21 -07:00
2022-05-04 11:45:11 +10:00
2021-10-22 16:04:20 -07:00
2022-09-19 06:47:14 +10:00
2022-09-19 06:45:14 +10:00
2022-03-29 18:21:59 -07:00
2023-02-28 16:08:30 -08:00
2023-01-19 09:24:28 +01:00
2023-01-19 09:24:29 +01:00
2022-01-18 10:18:36 -08:00
2023-02-20 11:53:11 -08:00
2023-01-19 09:24:27 +01:00
2023-05-02 09:14:51 +10:00
2022-11-29 09:09:17 +11:00
2023-01-19 09:24:30 +01:00
2023-01-19 09:24:02 +01:00
2023-01-19 09:24:29 +01:00
2023-01-19 09:24:29 +01:00
2023-04-11 18:59:55 -07:00
2022-07-14 11:47:42 +10:00
2023-04-11 18:59:55 -07:00
2022-04-13 07:02:44 +00:00
2023-04-11 18:59:58 -07:00
2022-07-07 18:56:09 +10:00
2022-07-07 18:56:09 +10:00
2022-10-18 14:39:29 -07:00
2022-11-30 09:25:46 -08:00
2022-07-07 18:56:08 +10:00
2022-04-21 16:45:03 +10:00
2022-05-27 10:31:34 +10:00
2022-11-16 19:20:20 -08:00
2023-02-13 09:14:52 +11:00
2021-10-22 16:04:20 -07:00
2022-10-10 20:32:10 -07:00
2022-10-31 08:58:20 -07:00
2023-01-19 09:24:02 +01:00
2021-08-19 10:07:12 -07:00
2022-06-23 13:34:38 -07:00
2023-03-05 15:13:22 -08:00
2022-05-11 17:12:09 +10:00
2021-08-09 10:52:18 -07:00
2022-05-11 17:12:09 +10:00
2023-04-11 18:59:58 -07:00
2021-10-22 16:04:20 -07:00
2023-02-13 09:14:42 +11:00
2022-07-07 19:07:40 +10:00
2023-04-11 18:59:58 -07:00
2021-10-22 16:04:20 -07:00
2022-11-16 15:25:03 -08:00
2022-04-12 06:49:42 +10:00
2022-09-19 06:48:14 +10:00
2023-04-11 19:05:19 -07:00
2022-07-17 17:14:30 -07:00
2023-01-19 09:24:30 +01:00
2023-01-19 09:24:28 +01:00
2022-05-11 17:01:22 +10:00
2023-02-10 08:59:48 -08:00
2023-02-10 08:59:48 -08:00
2022-11-28 17:24:35 -08:00
2023-04-11 18:59:58 -07:00
2022-11-30 08:55:18 -08:00
2021-08-19 10:07:14 -07:00
2022-05-11 17:12:09 +10:00
2022-07-07 18:55:59 +10:00
2023-02-11 04:12:06 +11:00
2023-02-11 04:11:06 +11:00
2023-02-10 09:06:06 -08:00
2022-05-27 10:34:04 +10:00