On Mon, 2013-02-04 at 11:54 +0100, Goswin von Brederlow wrote:
> The fallocate() call has an additional mode argument. That might or
> might not
> be relevant. You have to check how it is used. But it should be easy
> enough
> to change the source to use posix_fallocate().

The 'mode' is relevant: it's used for "hole punching"/discard/trim
support. posix_fallocate is no drop-in replacement.

Nicolas


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
Nbd-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nbd-general

Reply via email to