Re: [PATCH RESEND v1 02/16] vfs: add init and cleanup functions

2013-01-10 Thread Zhi Yong Wu
On Thu, Jan 10, 2013 at 8:48 AM, David Sterba wrote: > On Thu, Dec 20, 2012 at 10:43:21PM +0800, zwu.ker...@gmail.com wrote: >> From: Zhi Yong Wu >> --- a/fs/hot_tracking.c >> +++ b/fs/hot_tracking.c >> @@ -107,3 +189,38 @@ err: >> kmem_cache_destroy(hot_inode_item_cachep); >> } >> EXPORT

Re: [PATCH RESEND v1 02/16] vfs: add init and cleanup functions

2013-01-09 Thread David Sterba
On Thu, Dec 20, 2012 at 10:43:21PM +0800, zwu.ker...@gmail.com wrote: > From: Zhi Yong Wu > --- a/fs/hot_tracking.c > +++ b/fs/hot_tracking.c > @@ -107,3 +189,38 @@ err: > kmem_cache_destroy(hot_inode_item_cachep); > } > EXPORT_SYMBOL_GPL(hot_cache_init); > + > +/* > + * Initialize the dat

[PATCH RESEND v1 02/16] vfs: add init and cleanup functions

2012-12-20 Thread zwu . kernel
From: Zhi Yong Wu Add initialization function to create some key data structures when hot tracking is enabled; Clean up them when hot tracking is disabled Signed-off-by: Zhi Yong Wu --- fs/hot_tracking.c| 117 ++ include/linux/fs.h