On Mon, Oct 29, 2012 at 10:01 AM, Dave Chinner wrote:
> On Sun, Oct 28, 2012 at 09:51:48PM +0800, Zhi Yong Wu wrote:
>> On Sun, Oct 28, 2012 at 3:55 PM, Zheng Liu wrote:
>> > Hi Zhiyong,
>> >
>> > On Thu, Oct 25, 2012 at 11:08:55PM +0800, zwu.ker...@gmail.com wrote:
>> > [snip]
>> >> @@ -199,6 +3
On Sun, Oct 28, 2012 at 09:51:48PM +0800, Zhi Yong Wu wrote:
> On Sun, Oct 28, 2012 at 3:55 PM, Zheng Liu wrote:
> > Hi Zhiyong,
> >
> > On Thu, Oct 25, 2012 at 11:08:55PM +0800, zwu.ker...@gmail.com wrote:
> > [snip]
> >> @@ -199,6 +342,54 @@ err:
> >> }
> >>
> >> /*
> >> + * Main function to u
On Sun, Oct 28, 2012 at 3:55 PM, Zheng Liu wrote:
> Hi Zhiyong,
>
> On Thu, Oct 25, 2012 at 11:08:55PM +0800, zwu.ker...@gmail.com wrote:
> [snip]
>> @@ -199,6 +342,54 @@ err:
>> }
>>
>> /*
>> + * Main function to update access frequency from read/writepage(s) hooks
>> + */
>> +inline void hot_u
Hi Zhiyong,
On Thu, Oct 25, 2012 at 11:08:55PM +0800, zwu.ker...@gmail.com wrote:
[snip]
> @@ -199,6 +342,54 @@ err:
> }
>
> /*
> + * Main function to update access frequency from read/writepage(s) hooks
> + */
> +inline void hot_update_freqs(struct inode *inode, u64 start,
> +
From: Zhi Yong Wu
Add some utils helpers to update access frequencies
for one file or its range.
Signed-off-by: Zhi Yong Wu
---
fs/hot_tracking.c| 191 ++
fs/hot_tracking.h|9 ++
include/linux/hot_tracking.h |2 +
3 fil
5 matches
Mail list logo