On Wed, Nov 23, 2016 at 12:21:41PM +0800, Anand Jain wrote:
> 
> 
> > > Can anyone help me on how to get test coverage for the compression
> > > code?
> > 
> > I'm not surprised xfstests missed this one since it's just readahead.
> > You might be able to get better coverage with
> > 
> > export MOUNT_OPTS="-o compress-force"
> 
>  And where the data is /dev/urandom the btrfs compression will
>  bail out, so xfstest cases which uses /dev/urandom won't test
>  the compression code.

Isn't that just with "-o compress"? That's why I recommended "-o
compress-force".

-- 
Omar
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to