Re: [PATCH 2/3] Add shrink_pagecache_parent

2014-01-14 Thread Dave Chinner
On Wed, Jan 08, 2014 at 10:06:31AM +0800, Li Wang wrote: > Hi, > > On 01/03/2014 07:55 AM, Andrew Morton wrote: > >On Mon, 30 Dec 2013 21:45:17 +0800 Li Wang wrote: > > > >>Analogous to shrink_dcache_parent except that it collects inodes. > >>It is not very appropriate to be put in dcache.c, but

Re: [PATCH 2/3] Add shrink_pagecache_parent

2014-01-14 Thread Dave Chinner
On Wed, Jan 08, 2014 at 10:06:31AM +0800, Li Wang wrote: Hi, On 01/03/2014 07:55 AM, Andrew Morton wrote: On Mon, 30 Dec 2013 21:45:17 +0800 Li Wang liw...@ubuntukylin.com wrote: Analogous to shrink_dcache_parent except that it collects inodes. It is not very appropriate to be put in

Re: [PATCH 2/3] Add shrink_pagecache_parent

2014-01-08 Thread Dave Chinner
On Thu, Jan 02, 2014 at 03:55:34PM -0800, Andrew Morton wrote: > On Mon, 30 Dec 2013 21:45:17 +0800 Li Wang wrote: > > > Analogous to shrink_dcache_parent except that it collects inodes. > > It is not very appropriate to be put in dcache.c, but d_walk can only > > be invoked from here. > >

Re: [PATCH 2/3] Add shrink_pagecache_parent

2014-01-08 Thread Dave Chinner
On Thu, Jan 02, 2014 at 03:55:34PM -0800, Andrew Morton wrote: On Mon, 30 Dec 2013 21:45:17 +0800 Li Wang liw...@ubuntukylin.com wrote: Analogous to shrink_dcache_parent except that it collects inodes. It is not very appropriate to be put in dcache.c, but d_walk can only be invoked from

Re: [PATCH 2/3] Add shrink_pagecache_parent

2014-01-07 Thread Li Wang
Hi, On 01/03/2014 07:55 AM, Andrew Morton wrote: On Mon, 30 Dec 2013 21:45:17 +0800 Li Wang wrote: Analogous to shrink_dcache_parent except that it collects inodes. It is not very appropriate to be put in dcache.c, but d_walk can only be invoked from here. Please cc Dave Chinner on future

Re: [PATCH 2/3] Add shrink_pagecache_parent

2014-01-07 Thread Li Wang
Hi, On 01/03/2014 07:55 AM, Andrew Morton wrote: On Mon, 30 Dec 2013 21:45:17 +0800 Li Wang liw...@ubuntukylin.com wrote: Analogous to shrink_dcache_parent except that it collects inodes. It is not very appropriate to be put in dcache.c, but d_walk can only be invoked from here. Please cc

Re: [PATCH 2/3] Add shrink_pagecache_parent

2014-01-02 Thread Andrew Morton
On Mon, 30 Dec 2013 21:45:17 +0800 Li Wang wrote: > Analogous to shrink_dcache_parent except that it collects inodes. > It is not very appropriate to be put in dcache.c, but d_walk can only > be invoked from here. Please cc Dave Chinner on future revisions. He be da man. The overall intent of

Re: [PATCH 2/3] Add shrink_pagecache_parent

2014-01-02 Thread Andrew Morton
On Mon, 30 Dec 2013 21:45:17 +0800 Li Wang liw...@ubuntukylin.com wrote: Analogous to shrink_dcache_parent except that it collects inodes. It is not very appropriate to be put in dcache.c, but d_walk can only be invoked from here. Please cc Dave Chinner on future revisions. He be da man.

[PATCH 2/3] Add shrink_pagecache_parent

2013-12-30 Thread Li Wang
Analogous to shrink_dcache_parent except that it collects inodes. It is not very appropriate to be put in dcache.c, but d_walk can only be invoked from here. Signed-off-by: Li Wang Signed-off-by: Yunchuan Wen --- fs/dcache.c | 36 1 file changed, 36

[PATCH 2/3] Add shrink_pagecache_parent

2013-12-30 Thread Li Wang
Analogous to shrink_dcache_parent except that it collects inodes. It is not very appropriate to be put in dcache.c, but d_walk can only be invoked from here. Signed-off-by: Li Wang liw...@ubuntukylin.com Signed-off-by: Yunchuan Wen yunchuan...@ubuntukylin.com --- fs/dcache.c | 36