Searched hist:"87182759 cd6f94875d6aaaac74eaa52aa6aa6f98" (Results 1 – 5 of 5) sorted by relevance
/linux/fs/afs/ |
H A D | afs.h | diff 87182759cd6f94875d6aaaac74eaa52aa6aa6f98 Thu May 09 17:17:05 CEST 2019 David Howells <dhowells@redhat.com> 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: 5cf9dd55a0ec ("afs: Prospectively look up extra files when doing a single lookup") Signed-off-by: David Howells <dhowells@redhat.com>
|
H A D | yfsclient.c | diff 87182759cd6f94875d6aaaac74eaa52aa6aa6f98 Thu May 09 17:17:05 CEST 2019 David Howells <dhowells@redhat.com> 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: 5cf9dd55a0ec ("afs: Prospectively look up extra files when doing a single lookup") Signed-off-by: David Howells <dhowells@redhat.com>
|
H A D | fsclient.c | diff 87182759cd6f94875d6aaaac74eaa52aa6aa6f98 Thu May 09 17:17:05 CEST 2019 David Howells <dhowells@redhat.com> 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: 5cf9dd55a0ec ("afs: Prospectively look up extra files when doing a single lookup") Signed-off-by: David Howells <dhowells@redhat.com>
|
H A D | dir.c | diff 87182759cd6f94875d6aaaac74eaa52aa6aa6f98 Thu May 09 17:17:05 CEST 2019 David Howells <dhowells@redhat.com> 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: 5cf9dd55a0ec ("afs: Prospectively look up extra files when doing a single lookup") Signed-off-by: David Howells <dhowells@redhat.com>
|
H A D | internal.h | diff 87182759cd6f94875d6aaaac74eaa52aa6aa6f98 Thu May 09 17:17:05 CEST 2019 David Howells <dhowells@redhat.com> 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: 5cf9dd55a0ec ("afs: Prospectively look up extra files when doing a single lookup") Signed-off-by: David Howells <dhowells@redhat.com>
|