[PATCH 5/5] afs: Optimise callback breaking by not repeating volume lookup

2018-06-05 Thread David Howells
At the moment, afs_break_callbacks calls afs_break_one_callback() for each separate FID it was given, and the latter looks up the volume individually for each one. However, this is inefficient if two or more FIDs have the same vid as we could reuse the volume. This is complicated by cell

[PATCH 5/5] afs: Optimise callback breaking by not repeating volume lookup

2018-06-05 Thread David Howells
At the moment, afs_break_callbacks calls afs_break_one_callback() for each separate FID it was given, and the latter looks up the volume individually for each one. However, this is inefficient if two or more FIDs have the same vid as we could reuse the volume. This is complicated by cell