summaryrefslogtreecommitdiffstats
path: root/.cocciconfig
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@redhat.com>2017-09-12 16:57:53 +0200
committerMiklos Szeredi <mszeredi@redhat.com>2017-09-12 16:57:53 +0200
commite1c0eecba1a4154c35c400f1cc9a035e6246bbcd (patch)
treec13747b8adb3435b46c1c65647d5f7ab173cc0a7 /.cocciconfig
parentfuse: allow server to run in different pid_ns (diff)
downloadlinux-e1c0eecba1a4154c35c400f1cc9a035e6246bbcd.tar.xz
linux-e1c0eecba1a4154c35c400f1cc9a035e6246bbcd.zip
fuse: honor iocb sync flags on write
If the IOCB_DSYNC flag is set a sync is not being performed by fuse_file_write_iter. Honor IOCB_DSYNC/IOCB_SYNC by setting O_DYSNC/O_SYNC respectively in the flags filed of the write request. We don't need to sync data or metadata, since fuse_perform_write() does write-through and the filesystem is responsible for updating file times. Original patch by Vitaly Zolotusky. Reported-by: Nate Clark <nate@neworld.us> Cc: Vitaly Zolotusky <vitaly@unitc.com>. Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions