diff options
| author | Jeff Layton <[email protected]> | 2025-02-20 16:47:15 +0000 |
|---|---|---|
| committer | Chuck Lever <[email protected]> | 2025-03-10 13:11:10 +0000 |
| commit | 49bdbdb11f70edef73ff9015f9b4ce717338def9 (patch) | |
| tree | e1c0960597497b447d9d4cc386df03361dbe54c4 /scripts/gcc-plugins/sancov_plugin.c | |
| parent | nfsd: eliminate cl_ra_cblist and NFSD4_CLIENT_CB_RECALL_ANY (diff) | |
| download | kernel-49bdbdb11f70edef73ff9015f9b4ce717338def9.tar.gz kernel-49bdbdb11f70edef73ff9015f9b4ce717338def9.zip | |
nfsd: replace CB_GETATTR_BUSY with NFSD4_CALLBACK_RUNNING
These flags serve essentially the same purpose and get set and cleared
at the same time. Drop CB_GETATTR_BUSY and just use
NFSD4_CALLBACK_RUNNING instead.
For this to work, we must use clear_and_wake_up_bit(), but doing that on
for other types of callbacks is wasteful. Declare a new NFSD4_CALLBACK_WAKE
flag in cb_flags to indicate that wake_up is needed, and only set that
for CB_GETATTRs.
Also, make the wait use a TASK_UNINTERRUPTIBLE sleep. This is done in
the context of an nfsd thread, and it should never need to deal with
signals.
Signed-off-by: Jeff Layton <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions
