David Howells
87182759cd
afs: Fix order-1 allocation in afs_do_lookup()
...
afs_do_lookup() will do an order-1 allocation to allocate status records if
there are more than 39 vnodes to stat.
Fix this by allocating an array of {status,callback} records for each vnode
we want to examine using vmalloc() if larger than a page.
This not only gets rid of the order-1 allocation, but makes it easier to
grow beyond 50 records for YFS servers. It also allows us to move to
{status,callback} tuples for other calls too and makes it easier to lock
across the application of the status and the callback to the vnode.
Fixes: 5cf9dd55a0 ("afs: Prospectively look up extra files when doing a single lookup")
Signed-off-by: David Howells <dhowells@redhat.com >
2019-05-16 16:25:21 +01:00
..
2019-05-01 22:43:23 -04:00
2019-05-07 12:48:10 -07:00
2019-05-07 12:48:10 -07:00
2019-05-16 16:25:21 +01:00
2019-04-09 19:18:19 -04:00
2019-05-01 22:43:23 -04:00
2019-05-01 22:43:24 -04:00
2019-05-07 18:14:36 -07:00
2018-11-30 16:00:58 +00:00
2019-05-07 12:48:10 -07:00
2019-05-15 17:35:54 +01:00
2019-05-01 22:43:26 -04:00
2019-04-08 18:21:02 -05:00
2018-10-30 12:46:25 -07:00
2019-05-07 21:28:04 -07:00
2019-05-07 20:03:32 -07:00
2019-01-24 13:38:30 -05:00
2019-04-27 17:07:22 -04:00
2019-05-07 10:57:05 -07:00
2018-07-22 14:13:44 +02:00
2019-05-01 22:43:24 -04:00
2018-11-23 09:08:17 -05:00
2019-05-01 22:43:24 -04:00
2019-05-07 21:28:04 -07:00
2019-05-07 21:28:04 -07:00
2019-05-01 22:43:24 -04:00
2019-05-01 22:43:24 -04:00
2018-11-30 15:57:31 +00:00
2019-05-07 10:57:05 -07:00
2019-05-07 18:14:36 -07:00
2019-05-01 22:43:24 -04:00
2019-05-01 22:43:24 -04:00
2019-05-01 22:43:24 -04:00
2019-05-01 22:43:24 -04:00
2019-05-01 22:43:27 -04:00
2019-05-01 22:43:24 -04:00
2019-04-06 18:57:40 -04:00
2019-05-07 12:48:10 -07:00
2019-05-07 11:37:27 -07:00
2019-05-07 20:03:32 -07:00
2019-03-18 22:39:34 -04:00
2019-05-01 22:43:25 -04:00
2019-05-15 17:35:54 +01:00
2018-03-27 13:18:09 -04:00
2019-05-07 12:48:10 -07:00
2019-05-01 22:43:25 -04:00
2017-11-02 11:10:55 +01:00
2019-05-07 20:03:32 -07:00
2019-05-01 22:43:26 -04:00
2019-05-07 18:14:36 -07:00
2018-05-22 14:27:58 -04:00
2019-05-01 22:43:25 -04:00
2019-05-01 22:43:27 -04:00
2019-05-07 20:03:32 -07:00
2019-05-07 22:03:58 -07:00
2019-04-09 14:19:06 +02:00
2019-05-01 22:43:25 -04:00
2019-05-01 22:43:25 -04:00
2018-12-18 18:29:15 +01:00
2017-09-06 17:27:26 -07:00
2019-05-01 22:43:25 -04:00
2019-05-01 22:43:25 -04:00
2019-05-01 22:43:25 -04:00
2019-03-16 10:31:02 -07:00
2019-05-07 20:03:32 -07:00
2018-07-31 11:32:44 -04:00
2019-05-07 21:28:04 -07:00
2019-05-01 22:43:25 -04:00
2019-05-07 12:48:10 -07:00
2019-04-28 13:45:36 -04:00
2019-05-07 18:14:36 -07:00
2019-04-04 20:13:59 -04:00
2018-07-12 10:04:27 -04:00
2018-07-03 16:44:45 -04:00
2018-07-12 10:04:20 -04:00
2019-03-05 10:00:35 -08:00
2018-06-12 16:19:22 -07:00
2019-03-07 18:32:01 -08:00
2018-04-11 10:28:37 -07:00
2018-07-10 23:29:03 -04:00
2019-02-18 16:49:36 -08:00
2019-05-07 20:50:27 -07:00
2019-05-01 07:47:37 -07:00
2019-04-02 17:49:58 +02:00
2018-08-27 14:48:48 +02:00
2018-10-29 14:29:58 -07:00
2018-06-05 19:23:26 +02:00
2018-10-03 16:47:43 +02:00
2018-03-29 15:07:46 -04:00
2019-03-13 13:58:46 -07:00
2019-05-07 21:28:04 -07:00
2018-04-02 20:15:39 +02:00
2019-04-30 09:26:13 -06:00
2019-02-01 15:46:24 -08:00
2018-06-28 10:40:47 -07:00
2019-03-07 18:32:01 -08:00
2019-03-07 18:32:01 -08:00
2019-04-08 18:21:02 -05:00
2018-01-15 12:07:51 -08:00
2019-03-20 18:49:06 -04:00
2019-03-08 14:48:40 -08:00
2019-02-28 03:29:26 -05:00
2019-03-20 18:49:06 -04:00
2019-03-29 10:01:38 -07:00
2017-11-07 10:32:44 +01:00
2019-01-21 17:48:13 +01:00
2019-01-22 14:39:38 -07:00
2019-03-20 18:49:06 -04:00
2019-05-07 20:50:27 -07:00
2019-05-07 20:17:51 -07:00
2019-05-07 08:41:26 -06:00
2019-01-03 18:57:57 -08:00
2019-05-07 18:14:36 -07:00
2019-04-25 13:38:44 -04:00
2018-08-02 08:06:55 +09:00
2019-05-07 20:50:27 -07:00
2019-05-07 12:48:10 -07:00
2019-05-07 21:12:44 -07:00
2018-06-12 16:19:22 -07:00
2019-01-30 17:44:07 -05:00
2019-04-30 09:26:13 -06:00
2019-05-07 21:28:04 -07:00
2019-03-20 18:49:06 -04:00
2019-04-09 19:20:57 -04:00
2019-05-06 17:46:52 +03:00
2019-04-14 15:09:40 -07:00
2019-01-30 17:14:50 -05:00
2019-01-30 17:14:50 -05:00
2018-01-02 19:27:28 -08:00
2018-02-11 14:34:03 -08:00
2019-05-06 17:46:52 +03:00
2019-01-03 18:57:57 -08:00
2019-02-07 00:13:27 +01:00
2019-04-08 18:21:02 -05:00
2019-04-08 18:21:02 -05:00
2019-04-26 11:09:55 -07:00
2019-04-06 10:48:35 -06:00
2019-02-01 01:55:45 -05:00
2019-02-07 16:38:35 +01:00
2019-04-28 21:34:21 -04:00
2019-05-02 14:08:53 -06:00
2019-02-07 00:13:27 +01:00
2019-04-19 09:46:05 -07:00
2019-02-07 00:13:27 +01:00
2018-09-18 07:30:48 -04:00