[PATCH] xfstests btrfs/020: test device replace on RO btrfs
Eryu Guan
eguan at redhat.com
Wed Oct 23 11:41:36 CDT 2013
On Wed, Oct 23, 2013 at 11:25:50AM -0500, Eric Sandeen wrote:
> On 10/23/13 6:24 AM, Eryu Guan wrote:
> > btrfs replace on readonly fs should not be allowed.
> >
> > Regression test case for commit:
> > bbb651e Btrfs: don't allow the replace procedure on read only filesystems
> >
> > Signed-off-by: Eryu Guan <eguan at redhat.com>
>
> Could you speed this up by just truncating the loop files to 256m, rather
> than writing 256m to each (for a total of 768m IO?)
Sure, and that does save much time, 7s -> 1s on my test box.
V2 will be coming soon.
Thanks for the review!
Eryu
More information about the xfs
mailing list