Re: [PATCH RESEND v1 04/16] vfs: add two map arrays

2013-01-09 Thread David Sterba
On Thu, Dec 20, 2012 at 10:43:23PM +0800, zwu.ker...@gmail.com wrote: > --- a/fs/hot_tracking.c > +++ b/fs/hot_tracking.c > +/* Free inode and range map info */ > +static void hot_map_exit(struct hot_info *root) > +{ > + int i; > + for (i = 0; i < HEAT_MAP_SIZE; i++) { > + spin_

[PATCH RESEND v1 04/16] vfs: add two map arrays

2012-12-20 Thread zwu . kernel
From: Zhi Yong Wu Adds two map arrays which contains a lot of list and is used to efficiently look up the data temperature of a file or its ranges. In each list of map arrays, the array node will keep track of temperature info. Signed-off-by: Zhi Yong Wu --- fs/hot_tracking.c|