• Miklos Szeredi's avatar
    fuse: add retrieve request · 2d45ba38
    Miklos Szeredi authored
    Userspace filesystem can request data to be retrieved from the inode's
    mapping.  This request is synchronous and the retrieved data is queued
    as a new request.  If the write to the fuse device returns an error
    then the retrieve request was not completed and a reply will not be
    sent.
    
    Only present pages are returned in the retrieve reply.  Retrieving
    stops when it finds a non-present page and only data prior to that is
    returned.
    
    This request doesn't change the dirty state of pages.
    Signed-off-by: default avatarMiklos Szeredi <mszeredi@suse.cz>
    2d45ba38
dev.c 41.7 KB