[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fuse-devel
Subject:    Re: [fuse-devel] [PATCH V2] fuse: Do not mask return value from fuse_direct_io for partially valid d
From:       Miklos Szeredi <miklos () szeredi ! hu>
Date:       2016-03-16 13:47:23
Message-ID: CAJfpegsOmKeiFeCDt9odD-atGkfb7ONmwVmmT=Tz=JP+Hv6cBg () mail ! gmail ! com
[Download RAW message or body]

On Tue, Mar 15, 2016 at 5:57 AM, Ashish Samant <ashish.samant@oracle.com> wrote:
> If a user calls writev/readv in direct io mode with partially valid data
> in the iovec array such that any vector other than the first one in the
> array contains invalid data, we currently return the error for the invalid
> iovec.
>
> Instead, we should return the number of bytes already written/read and not
> the error as we do in the non direct_io case.
>
> Reported-by: Alexey Kodanev <alexey.kodanev@oracle.com>
> Signed-off-by: Ashish Samant <ashish.samant@oracle.com>
>
> V1->V2:
>  - Fix compile error.
>  - fuse_get_user_pages should be fixed as well.

Thanks, applied.

Miklos

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
-- 
fuse-devel mailing list
To unsubscribe or subscribe, visit https://lists.sourceforge.net/lists/listinfo/fuse-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic