Re: [PATCH] direct-io: Submit bio after boundary buffer is added to it

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue,  9 Apr 2013 17:42:49 +0200 Jan Kara <jack@xxxxxxx> wrote:

> Currently, dio_send_cur_page() submits bio before current page and
> cached sdio->cur_page is added to the bio if sdio->boundary is set. This
> is actually wrong because sdio->boundary means the current buffer is the
> last one before metadata needs to be read. So we should rather submit
> the bio after the current page is added to it.
> 
> Reported-by: Kazuya Mio <k-mio@xxxxxxxxxxxxx>
> Signed-off-by: Jan Kara <jack@xxxxxxx>
> ---
>  fs/direct-io.c |   28 +++++++++++-----------------
>  1 files changed, 11 insertions(+), 17 deletions(-)
> 
>  Andrew, can you add this patch the previous direct IO boundary handling fix?

What is the user-visible impact of these two patches?
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux