Re: [Q] ext

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andreas Dilger
Subject: Re: [Q] ext
Date: Monday, August 9, 2010 - 11:35 pm

On 2010-08-10, at 10:23, Toshiyuki Okajima wrote:

Interesting.  The 2TB vs. 4TB difference for block-mapped files is due to the removal of the 2^32 sectors limit imposed by i_blocks, and is not strictly related to extents.


This part doesn't really have to be under i_mutex.  Otherwise, the patch looks reasonable.


It's too bad that we have to duplicate the whole generic_file_llseek() code here, but I don't think there is a better solution.  However, it is worthwhile to add a comment to this function like:

/* copied from generic_file_llseek() to handle both block-mapped and
 * extent-mapped maxbytes values.  Should otherwise be identical. */

Cheers, Andreas
--
Andreas Dilger
Lustre Technical Lead
Oracle Corporation Canada Inc.

--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [Q] ext, Andreas Dilger, (Mon Aug 9, 11:35 pm)
[Q] ext4: the max file size of each case is correct?, Toshiyuki Okajima, (Tue Aug 10, 7:23 am)
Re: [Q] ext, Toshiyuki Okajima, (Tue Aug 17, 6:06 pm)