Skip to content

Commit 0099e22

Browse files
RonnieSahlbergming1
authored andcommitted
NFS: remove a spinlock around ublksrv_queue_handled_event()
Signed-off-by: Ronnie Sahlberg <rsahlberg@whamcloud.com>
1 parent e8798b8 commit 0099e22

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

targets/ublk.nfs.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,7 @@ static void nfs_handle_event(const struct ublksrv_queue *q)
5050
cb_data = tmp;
5151
}
5252

53-
pthread_spin_lock(&q_data->io_list_lock);
5453
ublksrv_queue_handled_event(q);
55-
pthread_spin_unlock(&q_data->io_list_lock);
5654
}
5755

5856
void rw_async_cb(int status, struct nfs_context *nfs,

0 commit comments

Comments
 (0)