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

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

 



On Mon, Oct 28, 2013 at 10:57:26AM -0400, Anna Schumaker wrote:
> This patch adds in the SEEK operation used by clients doing an llseek on
> a file to find either hole or data sections in a file.  I'm faking the
> "allocated" status right now, since I haven't quite figured out how to
> tell if a range is allocated on disk yet.
> 
> This patch is missing correctly determining the "allocated" status of
> the HOLE / DATA range.  I expect I'll need to learn all about how fiemap
> works before properly setting these values.

What is the definition of allocated in this context?  Specificly how
does it different from meaning of allocated as used by SEEK_DATA?

Going out to fiemap is something we should absolutely avoid.

--
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