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)
committerKarolin Seeger <kseeger@samba.org>
Thu, 14 May 2020 07:25:46 +0000 (07:25 +0000)
commit43bc61b1c799470bb87f99ad4401aa77fb17e901
tree31c63bc80ff53cd52fbdb5c60d265d7e37cad850
parent0baa1036c6f5fbf5ed2334f6f6655c64363eaf41
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>
(cherry picked from commit 0f01b10679c06dbd28da72ca6c6280ddf81672ba)
source3/modules/vfs_io_uring.c