• David Howells's avatar
    netfs, 9p: Implement helpers for new write code · 5fb70e72
    David Howells authored
    Implement the helpers for the new write code in 9p.  There's now an
    optional ->prepare_write() that allows the filesystem to set the parameters
    for the next write, such as maximum size and maximum segment count, and an
    ->issue_write() that is called to initiate an (asynchronous) write
    operation.
    Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
    Reviewed-by: default avatarJeff Layton <jlayton@kernel.org>
    cc: Eric Van Hensbergen <ericvh@kernel.org>
    cc: Latchesar Ionkov <lucho@ionkov.net>
    cc: Dominique Martinet <asmadeus@codewreck.org>
    cc: Christian Schoenebeck <linux_oss@crudebyte.com>
    cc: v9fs@lists.linux.dev
    cc: netfs@lists.linux.dev
    cc: linux-fsdevel@vger.kernel.org
    5fb70e72
client.h 8.81 KB