s3: VFS: fruit. Implement fsync_send()/fsync_recv().
authorJeremy Allison <jra@samba.org>
Tue, 20 Sep 2022 20:25:22 +0000 (13:25 -0700)
committerJeremy Allison <jra@samba.org>
Thu, 6 Oct 2022 22:03:35 +0000 (22:03 +0000)
commit35c637f2e6c671acf8fb9c2a67774bd5e74dd7d0
tree67216eabe61757bcaf4a6308caf5f67947557272
parent1b8a8732848169c632af12b7c2b4cd3ee73be244
s3: VFS: fruit. Implement fsync_send()/fsync_recv().

For type == ADOUBLE_META, fio->fake_fd is true so
writes are already synchronous, just call tevent_req_post().

For type == ADOUBLE_RSRC we know we are configured
with FRUIT_RSRC_ADFILE (because fruit_must_handle_aio_stream()
returned true), so we can just call SMB_VFS_NEXT_FSYNC_SEND()
after replacing fsp with fio->ad_fsp.

Remove knownfail.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15182

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>
selftest/knownfail.d/fruit_fsync [deleted file]
source3/modules/vfs_fruit.c