Files
linux/fs
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-01 22:43:23 -04:00
2019-05-01 22:43:24 -04:00
2019-05-01 22:43:26 -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: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:24 -04:00
2019-05-01 22:43:25 -04:00
2019-05-01 22:43:25 -04:00
2019-05-01 22:43:26 -04: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-05-01 22:43:25 -04:00
2019-03-07 18:32:01 -08:00
2019-04-08 18:21:02 -05:00
2019-01-30 17:44:07 -05:00
2019-04-09 19:20:57 -04:00
2019-04-06 10:48:35 -06:00
2019-02-07 16:38:35 +01:00
2019-05-02 14:08:53 -06:00