• David Howells's avatar
    netfs, afs: Implement helpers for new write code · ed22e1db
    David Howells authored
    Implement the helpers for the new write code in afs.  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: Marc Dionne <marc.dionne@auristor.com>
    cc: linux-afs@lists.infradead.org
    cc: netfs@lists.linux.dev
    cc: linux-fsdevel@vger.kernel.org
    ed22e1db
write.c 8.53 KB