summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/trace.h
diff options
context:
space:
mode:
authorStefan Bühler2019-04-24 23:54:16 +0200
committerJens Axboe2019-04-30 17:40:02 +0200
commit1e84b97b7377bd0198f87b49ad3e396e84bf0458 (patch)
tree8db2e33c5aabfc341a9b1b5a6d17297747ba67f0 /fs/nfsd/trace.h
parentio_uring: fix handling SQEs requesting NOWAIT (diff)
downloadkernel-qcow2-linux-1e84b97b7377bd0198f87b49ad3e396e84bf0458.tar.gz
kernel-qcow2-linux-1e84b97b7377bd0198f87b49ad3e396e84bf0458.tar.xz
kernel-qcow2-linux-1e84b97b7377bd0198f87b49ad3e396e84bf0458.zip
io_uring: fix notes on barriers
The application reading the CQ ring needs a barrier to pair with the smp_store_release in io_commit_cqring, not the barrier after it. Also a write barrier *after* writing something (but not *before* writing anything interesting) doesn't order anything, so an smp_wmb() after writing SQ tail is not needed. Additionally consider reading SQ head and writing CQ tail in the notes. Also add some clarifications how the various other fields in the ring buffers are used. Signed-off-by: Stefan Bühler <source@stbuehler.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/nfsd/trace.h')
0 files changed, 0 insertions, 0 deletions