Re: [PATCH v2] Ceph: Punch hole support

From: Dave Chinner
Date: Wed Jun 19 2013 - 23:19:12 EST


On Wed, Jun 19, 2013 at 09:31:21AM -0700, Sage Weil wrote:
> Hi Li,
>
> There is a version of fsx.c floating around that tests hole punching...
> have you tried running that on top of this patch? Ideally, we should
> build a test (ceph.git/qa/workunits/rbd/hole_punch.sh or similar) that
> tests the hole punch both with a default file layout and with a more
> complicated striping pattern (e.g. object_size=1048576 stripe_unit=65536
> stripe_count=7).

The version in xfstests has hole punch support, as does the version
of fsstress. There are also some corner case tests for punch
behaviour, so running the generic tests in xfstests
should shake out most bugs....

Cheers,

Dave.
--
Dave Chinner
david@xxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/