[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Nbd] NBD with uClibc 0.9.33.2 - compile problem



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




Reply to: