Re: [PATCH 3/3] block: implement (some of) fallocate for block devices
From: Martin K. Petersen
Date: Mon Mar 21 2016 - 14:22:29 EST
>>>>> "Christoph" == Christoph Hellwig <hch@xxxxxxxxxxxxx> writes:
Christoph> On Mon, Mar 21, 2016 at 10:52:35AM -0700, Darrick J. Wong wrote:
>> > I don't really understand the comment. But I think you'd be much
>> I don't know of a block device primitive that corresponds to the
>> "default" mode of fallocate, as documented in the manpage (i.e. mode
>> == 0). I agree that the whole thing could be simplified in the
>> manner you point out below.
Christoph> SCSI allows 'anchoring' blocks, which is pretty similar to a
Christoph> normal fallocate, but we don't support anchoring blocks in
Christoph> Linux yet.
Chicken and egg problem. I actually did tinker with this for a different
project a while back and can easily revive it.
Martin K. Petersen Oracle Linux Engineering