[PATCH 0/4] fuse: {io-uring} Ensure fuse requests are set/read with locks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The timeout optimization patch Joanne had set ent->fuse_req to NULL
while holding a lock and that made me to realize we might have
a problem there.

And based on that, I believe we also need to set/read pdu->ent
with write,read_once.

Cc: Luis Henriques <luis@xxxxxxxxxx>
Cc: Joanne Koong <joannelkoong@xxxxxxxxx>

Signed-off-by: Bernd Schubert <bschubert@xxxxxxx>
---
Bernd Schubert (4):
      fuse: {io-uring} Use READ_ONCE in fuse_uring_send_in_task
      fuse: {io-uring} Access entries with queue lock in fuse_uring_entry_teardown
      fuse: {io-uring} set/read ent->fuse_req while holding a lock
      fuse: {io-uring} Use {WRITE,READ}_ONCE for pdu->ent

 fs/fuse/dev_uring.c | 89 +++++++++++++++++++++++++++--------------------------
 1 file changed, 46 insertions(+), 43 deletions(-)
---
base-commit: 9859b70e784b07f92196d1cef7cda4ace101fd33
change-id: 20250124-optimize-fuse-uring-req-timeouts-55190797c641

Best regards,
-- 
Bernd Schubert <bschubert@xxxxxxx>





[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux