Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1362069

Re: [PATCH 3/3] block: implement (some of) fallocate for block devices

From "Martin K. Petersen" <martin.petersen@oracle.com>
Newsgroups linux.kernel
Subject Re: [PATCH 3/3] block: implement (some of) fallocate for block devices
Date 2016-03-21 19:30 +0100
Message-ID <rfcKu-14J-13@gated-at.bofh.it> (permalink)
References <rd38C-6Bt-17@gated-at.bofh.it> <rd38D-6Bt-31@gated-at.bofh.it> <rfa5Y-7FH-19@gated-at.bofh.it> <rfchs-Dm-3@gated-at.bofh.it> <rfcAN-Zv-11@gated-at.bofh.it>
Organization Oracle Corporation

Show all headers | View raw


>>>>> "Christoph" == Christoph Hellwig <hch@infradead.org> 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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH 3/3] block: implement (some of) fallocate for block  devices Christoph Hellwig <hch@infradead.org> - 2016-03-21 16:40 +0100
  Re: [PATCH 3/3] block: implement (some of) fallocate for block  devices "Darrick J. Wong" <darrick.wong@oracle.com> - 2016-03-21 19:00 +0100
    Re: [PATCH 3/3] block: implement (some of) fallocate for block  devices Christoph Hellwig <hch@infradead.org> - 2016-03-21 19:20 +0100
      Re: [PATCH 3/3] block: implement (some of) fallocate for block devices "Martin K. Petersen" <martin.petersen@oracle.com> - 2016-03-21 19:30 +0100

csiph-web