lkml.org 
[lkml]   [2015]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH 1/2] mm/zpool: add name argument to create zpool
On Sun, Dec 28, 2014 at 6:56 PM, Minchan Kim <minchan@kernel.org> wrote:
> On Fri, Dec 26, 2014 at 09:04:55PM +0800, Ganesh Mahendran wrote:
>> Currently the underlay of zpool: zsmalloc/zbud, do not know
>> who creates them. There is not a method to let zsmalloc/zbud
>> find which caller they belogs to.
>>
>> Now we want to add statistics collection in zsmalloc. We need
>> to name the debugfs dir for each pool created. The way suggested
>> by Minchan Kim is to use a name passed by caller(such as zram)
>> to create the zsmalloc pool.
>> /sys/kernel/debug/zsmalloc/zram0
>>
>> This patch adds a argument *name* to zs_create_pool() and other
>> related functions.
>>
>> Signed-off-by: Ganesh Mahendran <opensource.ganesh@gmail.com>
> Acked-by: Minchan Kim <minchan@kernel.org>

Acked-by: Dan Streetman <ddstreet@ieee.org>

>
> --
> Kind regards,
> Minchan Kim


\
 
 \ /
  Last update: 2015-01-06 03:41    [W:0.038 / U:1.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site