Commit 424dd3d
nfsd: eliminate cl_ra_cblist and NFSD4_CLIENT_CB_RECALL_ANY
deleg_reaper() will walk the client_lru list and put any suitable
entries onto "cblist" using the cl_ra_cblist pointer. It then walks the
objects outside the spinlock and queues callbacks for them.
None of the operations that deleg_reaper() does outside the
nn->client_lock are blocking operations. Just queue their workqueue jobs
under the nn->client_lock instead.
Also, the NFSD4_CLIENT_CB_RECALL_ANY and NFSD4_CALLBACK_RUNNING flags
serve an identical purpose now. Drop the NFSD4_CLIENT_CB_RECALL_ANY flag
and just use the one in the callback.
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>1 parent 1054e8f commit 424dd3d
2 files changed
+3
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3175 | 3175 | | |
3176 | 3176 | | |
3177 | 3177 | | |
3178 | | - | |
3179 | 3178 | | |
3180 | 3179 | | |
3181 | 3180 | | |
| |||
6881 | 6880 | | |
6882 | 6881 | | |
6883 | 6882 | | |
6884 | | - | |
6885 | 6883 | | |
6886 | 6884 | | |
6887 | 6885 | | |
| |||
6893 | 6891 | | |
6894 | 6892 | | |
6895 | 6893 | | |
6896 | | - | |
| 6894 | + | |
6897 | 6895 | | |
6898 | 6896 | | |
6899 | 6897 | | |
6900 | 6898 | | |
6901 | 6899 | | |
6902 | | - | |
6903 | 6900 | | |
6904 | 6901 | | |
6905 | 6902 | | |
6906 | | - | |
6907 | 6903 | | |
6908 | | - | |
6909 | | - | |
6910 | | - | |
6911 | | - | |
6912 | | - | |
6913 | | - | |
6914 | | - | |
6915 | 6904 | | |
6916 | 6905 | | |
6917 | 6906 | | |
6918 | 6907 | | |
6919 | | - | |
| 6908 | + | |
6920 | 6909 | | |
| 6910 | + | |
6921 | 6911 | | |
6922 | 6912 | | |
6923 | 6913 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
454 | 454 | | |
455 | 455 | | |
456 | 456 | | |
457 | | - | |
458 | 457 | | |
459 | 458 | | |
460 | 459 | | |
| |||
500 | 499 | | |
501 | 500 | | |
502 | 501 | | |
503 | | - | |
504 | 502 | | |
505 | 503 | | |
506 | 504 | | |
| |||
0 commit comments