From: Christoph Hellwig <hch@infradead.org>
To: Dmitry Monakhov <dmonakhov@openvz.org>
Cc: xfs@oss.sgi.com
Subject: Re: [PATCH] xfs_io: Prevent devide by zero from {pread, pwrite}_random
Date: Tue, 1 Mar 2016 04:09:11 -0800 [thread overview]
Message-ID: <20160301120911.GB5217@infradead.org> (raw)
In-Reply-To: <8760xc3jfu.fsf@openvz.org>
On Thu, Feb 25, 2016 at 07:20:53PM +0400, Dmitry Monakhov wrote:
>
> Math is wrong if range requested is less or equals to block size
>
> xfs_io -c 'pwrite -b 4k 8k 4k -R' \
> -c 'pread -b 4k 4k 4k -R' -f file
>
> Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Looks fine,
Reviewed-by: Christoph Hellwig <hch@lst.de>
Are we going to see a new testcase that relies on this soon? :)
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
prev parent reply other threads:[~2016-03-01 12:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-25 15:20 [PATCH] xfs_io: Prevent devide by zero from {pread,pwrite}_random Dmitry Monakhov
2016-03-01 12:09 ` Christoph Hellwig [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160301120911.GB5217@infradead.org \
--to=hch@infradead.org \
--cc=dmonakhov@openvz.org \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox