Re: [Nbd] NBD with uClibc 0.9.33.2 - compile problem
- To: nbd-general@lists.sourceforge.net
- Subject: Re: [Nbd] NBD with uClibc 0.9.33.2 - compile problem
- From: Nicolas Trangez <nicolas@...1262...>
- Date: Mon, 04 Feb 2013 12:13:44 +0100
- Message-id: <1359976424.1375.11.camel@...1263...>
- In-reply-to: <20130204105418.GA2935@...1266...>
- References: <510E7F9E.90903@...17...> <20130204105418.GA2935@...1266...>
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: