Dave Chinner
8f7747ad8c
xfs: move xfs_bmap_btalloc_filestreams() to xfs_filestreams.c
...
xfs_bmap_btalloc_filestreams() calls two filestreams functions to
select the AG to allocate from. Both those functions end up in
the same selection function that iterates all AGs multiple times.
Worst case, xfs_bmap_btalloc_filestreams() can iterate all AGs 4
times just to select the initial AG to allocate in.
Move the AG selection to fs/xfs/xfs_filestreams.c as a single
interface so that the inefficient AG interation is contained
entirely within the filestreams code. This will allow the
implementation to be simplified and made more efficient in future
patches.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
2023-02-13 09:14:55 +11:00
..
2022-12-23 11:39:18 -08:00
2022-05-09 16:21:44 -04:00
2023-01-10 14:55:20 +01:00
2023-01-06 09:43:33 +00:00
2022-07-17 17:31:42 -07:00
2022-08-02 12:34:03 -04:00
2022-05-09 16:21:44 -04:00
2023-01-20 11:59:01 -08:00
2022-12-07 10:56:29 +08:00
2023-01-02 12:27:25 +01:00
2023-01-25 09:57:48 -06:00
2022-08-02 12:34:03 -04:00
2022-12-02 11:11:22 +01:00
2022-08-02 12:34:02 -04:00
2022-12-13 10:43:59 -08:00
2022-11-30 16:13:16 -08:00
2022-12-19 17:28:49 -08:00
2022-10-20 10:13:31 +02:00
2022-12-01 09:51:21 +01:00
2022-05-09 16:21:45 -04:00
2023-01-16 22:39:47 +08:00
2022-12-15 18:14:21 -08:00
2022-11-28 12:54:45 -05:00
2022-12-12 20:32:50 -08:00
2023-01-24 12:38:45 -08:00
2023-01-03 08:59:06 -08:00
2022-12-13 19:29:45 -08:00
2022-08-02 12:34:03 -04:00
2022-12-12 18:29:54 -08:00
2023-01-24 16:33:37 +01:00
2023-01-22 09:46:14 +01:00
2023-01-06 14:09:13 -08:00
2022-12-13 19:29:45 -08:00
2022-09-19 22:46:25 +02:00
2022-12-11 18:12:18 -08:00
2022-11-30 15:58:56 -08:00
2022-12-14 10:11:51 -08:00
2022-10-12 11:00:22 -07:00
2022-12-08 21:49:25 -05:00
2022-10-20 10:13:27 +02:00
2022-12-13 19:29:45 -08:00
2022-11-23 19:28:26 +01:00
2023-01-25 18:31:18 -06:00
2022-12-12 20:54:39 -08:00
2022-09-24 07:00:00 +02:00
2022-11-25 13:01:55 -05:00
2023-01-07 10:38:11 -08:00
2023-01-24 12:58:47 -08:00
2023-01-11 16:14:21 -08:00
2022-10-07 08:28:50 -07:00
2022-10-12 11:00:22 -07:00
2023-01-02 10:31:09 -08:00
2022-12-19 17:28:49 -08:00
2022-12-11 18:12:18 -08:00
2022-03-22 15:57:03 -07:00
2022-12-14 11:16:33 -08:00
2023-01-27 16:17:19 +01:00
2022-12-15 11:12:21 -08:00
2022-12-23 11:55:54 -08:00
2022-05-09 16:21:44 -04:00
2022-09-11 21:55:07 -07:00
2022-12-08 21:49:23 -05:00
2022-10-10 19:45:17 -07:00
2022-12-13 09:47:48 -08:00
2022-05-09 16:21:46 -04:00
2022-10-05 01:55:27 -05:00
2022-12-12 20:24:51 -08:00
2022-04-05 15:39:19 +02:00
2022-12-10 14:13:37 -05:00
2022-09-08 17:10:54 -04:00
2022-11-18 02:15:15 +01:00
2023-01-06 15:44:32 +01:00
2022-09-11 20:26:07 -07:00
2022-05-09 16:21:46 -04:00
2022-11-29 21:07:41 -08:00
2023-02-13 09:14:55 +11:00
2023-01-16 08:42:12 +09:00
2022-11-25 13:01:55 -05:00
2022-08-20 11:34:04 -04:00
2022-10-18 10:09:47 +02:00
2022-10-20 10:13:27 +02:00
2023-01-05 15:12:12 +00:00
2023-01-05 15:12:12 +00:00
2022-04-22 10:57:18 -07:00
2022-12-02 13:57:04 -08:00
2022-10-12 11:00:22 -07:00
2022-12-02 17:48:59 +01:00
2022-12-14 12:20:00 -08:00
2022-08-20 11:34:33 -04:00
2022-12-11 18:12:17 -08:00
2022-10-10 19:45:17 -07:00
2022-09-20 08:24:38 -06:00
2022-11-22 06:07:55 -07:00
2022-11-21 07:45:29 -07:00
2022-12-12 19:20:05 -08:00
2022-06-10 16:10:23 -04:00
2022-09-01 17:36:39 -04:00
2022-08-16 10:59:54 -04:00
2022-10-31 15:30:11 -04:00
2022-12-01 10:46:54 -05:00
2022-12-15 18:09:48 -08:00
2022-05-19 23:25:10 -04:00
2022-12-12 19:20:05 -08:00
2022-12-12 19:03:10 -08:00
2022-04-01 19:35:56 -07:00
2022-09-11 20:26:10 -07:00
2022-10-10 14:21:11 -07:00
2022-06-16 19:58:21 -07:00
2022-11-30 16:13:16 -08:00
2022-11-30 05:08:10 -05:00
2022-09-27 07:11:02 -07:00
2022-12-08 21:49:25 -05:00
2022-07-05 16:18:21 -04:00
2022-08-03 10:35:43 -07:00
2022-12-13 09:14:50 -08:00
2022-12-12 19:30:18 -08:00
2022-08-20 11:34:04 -04:00
2022-12-13 09:14:50 -08:00
2022-08-20 11:34:04 -04:00
2022-12-21 14:45:25 +01:00
2022-12-12 19:30:18 -08:00
2022-06-28 13:58:05 -04:00
2022-12-12 18:29:54 -08:00
2022-08-17 17:25:04 -04:00
2022-12-13 10:26:38 -08:00
2022-11-25 13:01:55 -05:00
2022-11-25 13:01:55 -05:00
2022-10-26 10:02:34 +02:00
2022-12-12 18:38:47 -08:00
2022-04-26 13:36:25 -07:00
2023-01-11 16:14:20 -08:00
2022-12-13 10:08:36 -08:00