Miklos Szeredi e1c0eecba1 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>
2017-09-12 16:57:53 +02:00
..
2017-07-11 06:08:58 -04:00
2017-07-11 06:06:17 -04:00
2017-09-01 00:04:26 +02:00
2017-08-24 13:23:03 -07:00
2017-08-14 08:30:06 -04:00
2017-07-17 19:23:18 -07:00
2017-09-12 16:57:53 +02:00
2017-07-06 16:24:35 -07:00
2017-07-07 20:09:10 -04:00
2017-07-06 03:31:46 -04:00
2017-08-10 15:54:07 -07:00
2017-08-07 16:51:28 +02:00
2017-07-06 03:31:46 -04:00
2017-08-31 16:12:59 -07:00
2017-07-07 13:48:18 -07:00
2017-06-22 11:44:55 -04:00
2017-07-06 03:27:09 -04:00
2017-07-06 03:27:09 -04:00
2017-05-08 17:15:12 -07:00
2017-06-09 16:28:01 -04:00
2017-07-11 06:09:21 -04:00
2017-07-05 18:44:23 -04:00