vfs_io_uring: retry after a short writes in vfs_io_uring_pwrite_completion()
authorStefan Metzmacher <metze@samba.org>
Fri, 8 May 2020 11:30:17 +0000 (13:30 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 12 May 2020 19:53:46 +0000 (19:53 +0000)
commit0f01b10679c06dbd28da72ca6c6280ddf81672ba
treea6bc7f08c5afcbffec9e08a76354d373a1a10e84
parent42e77c4cf245d8420641d216d1abefe81f7a3b79
vfs_io_uring: retry after a short writes in vfs_io_uring_pwrite_completion()

We need to be prepared for short writes from the kernel depending on
the state of the page cache.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_io_uring.c