On Mon, Mar 05, 2012 at 08:26:03PM -0800, Sunil Mushran wrote:
On 3/5/2012 6:35 PM, Zheng Liu wrote:
quoted
No, _RANDOM means that file system doesn't need to try its best to find
a proper position to allocate some blocks for this file. Furthermore,
currently random IOs seem that they are not obviously slower than
sequential IOs in Flash/SSD device. For example, when users know a file
that is accessed infrequently, they can put this file in a corner, such
as in some discontinuously blocks. Then sequential blocks are reserved
for the file that needs to be accessed frequently and users can obtain
the better performance.
Then FADV_ALLOC_HOT_REGION and FADV_ALLOC_COLD_REGION are
probably better terms.
Make sense to me. Thanks a lot. ;-)
Regards,
Zheng
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html