--On 16 September 2011 10:26:09 +0200 Wouter Verhelst <[email protected]> wrote:

> So yesterday I implemented the fallocate(FALLOC_FL_PUNCH_HOLE) stuff for
> NBD_CMD_TRIM. It's compile-tested, but not yet functionally tested. To
> be honest, I'm not entirely sure how to test whether a file is sparse in
> a particular region; anyone?

I think you can use debugfs's dump_extents command (from memory).

-- 
Alex Bligh

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
_______________________________________________
Nbd-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nbd-general

Reply via email to