lkml.org 
[lkml]   [2010]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateThu, 26 Aug 2010 10:13:43 +0800
FromShaohua Li <>
SubjectRe: [RFC v2 PATCH 0/6] Btrfs: Add hot data relocation functionality
On Fri, Aug 13, 2010 at 06:22:00AM +0800, bchociej@gmail.com wrote:
>
> - Hooks in existing Btrfs functions to track data access frequency
> (btrfs_direct_IO, btrfs_readpages, and extent_write_cache_pages)
>
> - New rbtrees for tracking access frequency of inodes and sub-file
> ranges (hotdata_map.c)
>
> - A hash list for indexing data by its temperature (hotdata_hash.c)
>
> - A debugfs interface for dumping data from the rbtrees (debugfs.c)
>
> - A background kthread for relocating data to faster media based on
> temperature
Hi,
I'm wondering if the temperature info can be exported to userspace, and
let a daemon to do the relocation (by ioctl). A userspace daemon is more
flexible.

Thanks,
Shaohua


\
 
 \ /
  Last update: 2010-08-26 04:17    [from the cache]
©2003-2010