• David Howells's avatar
    netfs: Implement unbuffered/DIO write support · 153a9961
    David Howells authored
    Implement support for unbuffered writes and direct I/O writes.  If the
    write is misaligned with respect to the fscrypt block size, then RMW cycles
    are performed if necessary.  DIO writes are a special case of unbuffered
    writes with extra restriction imposed, such as block size alignment
    requirements.
    
    Also provide a field that can tell the code to add some extra space onto
    the bounce buffer for use by the filesystem in the case of a
    content-encrypted file.
    Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
    Reviewed-by: default avatarJeff Layton <jlayton@kernel.org>
    cc: linux-cachefs@redhat.com
    cc: linux-fsdevel@vger.kernel.org
    cc: linux-mm@kvack.org
    153a9961
Makefile 527 Bytes