Skip to content

Commit e4ac6e5

Browse files
committed
NFSv4.2: mark OFFLOAD_CANCEL MOVEABLE
JIRA: https://issues.redhat.com/browse/RHEL-108616 commit 668135b Author: Olga Kornievskaia <okorniev@redhat.com> Date: Fri Dec 13 11:52:01 2024 -0500 NFSv4.2: mark OFFLOAD_CANCEL MOVEABLE OFFLOAD_CANCEL should be marked MOVEABLE for when we need to move tasks off a non-functional transport. Fixes: c975c20 ("NFS send OFFLOAD_CANCEL when COPY killed") Signed-off-by: Olga Kornievskaia <okorniev@redhat.com> Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com> Signed-off-by: Benjamin Coddington <bcodding@redhat.com>
1 parent 1f28b0c commit e4ac6e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/nfs/nfs42proc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ static int nfs42_do_offload_cancel_async(struct file *dst,
552552
.rpc_message = &msg,
553553
.callback_ops = &nfs42_offload_cancel_ops,
554554
.workqueue = nfsiod_workqueue,
555-
.flags = RPC_TASK_ASYNC,
555+
.flags = RPC_TASK_ASYNC | RPC_TASK_MOVEABLE,
556556
};
557557
int status;
558558

0 commit comments

Comments
 (0)