Re: [PATCH 4/4] NFSD: Implement SEEK

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

 



On Tue, Oct 29, 2013 at 09:00:48AM -0400, Anna Schumaker wrote:
>  From what I can tell, I think the allocated flag will just tell the 
> clients if all the blocks exist on disk or not.  Is there a way to have 
> a hole with allocated blocks?  Or maybe it's supposed to represent 
> partially allocated blocks?  I checked the draft, and it doesn't 
> actually say what they expect allocated to represent...

You can have preallocated space, which behaves like a hole in that
reads return zeroes.  As far as SEEK_DATA/SEEK_HOLE is concerned we
tend to treat them as holes when we can as that's what the users expect.

Note that at least the pnfs block rfc has a special state representing
this kind of preallocated space.

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux