Re: [RFC] fadvise: add more flags to provide a hint for block allocation

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

 



On 3/5/2012 6:35 PM, Zheng Liu wrote:
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.

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


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux