mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-05-02 18:17:50 -04:00
afs: Apply server breaks to mmap'd files in the call processor
Apply server breaks to mmap'd files that are being used from that server from the call processor work function rather than punting it off to a workqueue. The work item, afs_server_init_callback(), then bumps each individual inode off to its own work item introducing a potentially lengthy delay. This reduces that delay at the cost of extending the amount of time we delay replying to the CB.InitCallBack3 notification RPC from the server. Signed-off-by: David Howells <dhowells@redhat.com> cc: Marc Dionne <marc.dionne@auristor.com> cc: linux-afs@lists.infradead.org
This commit is contained in:
@@ -151,9 +151,11 @@ enum yfs_cm_operation {
|
||||
EM(afs_volume_trace_alloc, "ALLOC ") \
|
||||
EM(afs_volume_trace_free, "FREE ") \
|
||||
EM(afs_volume_trace_get_alloc_sbi, "GET sbi-alloc ") \
|
||||
EM(afs_volume_trace_get_callback, "GET callback ") \
|
||||
EM(afs_volume_trace_get_cell_insert, "GET cell-insrt") \
|
||||
EM(afs_volume_trace_get_new_op, "GET op-new ") \
|
||||
EM(afs_volume_trace_get_query_alias, "GET cell-alias") \
|
||||
EM(afs_volume_trace_put_callback, "PUT callback ") \
|
||||
EM(afs_volume_trace_put_cell_dup, "PUT cell-dup ") \
|
||||
EM(afs_volume_trace_put_cell_root, "PUT cell-root ") \
|
||||
EM(afs_volume_trace_put_destroy_sbi, "PUT sbi-destry") \
|
||||
|
||||
Reference in New Issue
Block a user