Re: [f2fs-dev] [PATCH 2/2] f2fs: add sysfs support for controlling the gc_thread

2013-06-26 Thread Namjae Jeon
2013/6/27, Jaegeuk Kim : > Hi, > > 2013-06-26 (수), 14:10 +0900, Namjae Jeon: >> 2013/6/25, Jaegeuk Kim : >> >> > - any priority scheme for cleaning? >> >> Could you plz tell me a little more detail ? >> > >> > I meant, as well as the GC times, user also gives a kind of status >> > like: >> > LONG_I

Re: [f2fs-dev] [PATCH 2/2] f2fs: add sysfs support for controlling the gc_thread

2013-06-26 Thread Jaegeuk Kim
Hi, 2013-06-26 (수), 14:10 +0900, Namjae Jeon: > 2013/6/25, Jaegeuk Kim : > >> > - any priority scheme for cleaning? > >> Could you plz tell me a little more detail ? > > > > I meant, as well as the GC times, user also gives a kind of status like: > > LONG_IDLE, SHORT_IDLE, something like that. > >

Re: [f2fs-dev] [PATCH 2/2] f2fs: add sysfs support for controlling the gc_thread

2013-06-25 Thread Namjae Jeon
2013/6/25, Jaegeuk Kim : > Hi Namjae, > > Sorry for the late reply. > > 2013-05-29 (수), 09:01 +0900, Namjae Jeon: >> >> I have thought more after getting your reply. >> >> f2fs_cleaner(a tentative name) is that provide the following several >> >> options to control gc thread. >> >> 1. start forgrou

Re: [f2fs-dev] [PATCH 2/2] f2fs: add sysfs support for controlling the gc_thread

2013-06-24 Thread Jaegeuk Kim
Hi Namjae, Sorry for the late reply. 2013-05-29 (수), 09:01 +0900, Namjae Jeon: > >> I have thought more after getting your reply. > >> f2fs_cleaner(a tentative name) is that provide the following several > >> options to control gc thread. > >> 1. start forground gc thread to clean all invalid blo

Re: [f2fs-dev] [PATCH 2/2] f2fs: add sysfs support for controlling the gc_thread

2013-05-28 Thread Namjae Jeon
2013/5/28, Jaegeuk Kim : > Hi, > > 2013-05-27 (월), 13:45 +0900, Namjae Jeon: >> 2013/5/27, Jaegeuk Kim : >> > Hi Namjae, >> Hi Jaegeuk. >> >> First, Thanks for your interest. >> > >> > This is an interesting functionality. >> > Could you describe why and when we need to do this? >> > What are pros

Re: [f2fs-dev] [PATCH 2/2] f2fs: add sysfs support for controlling the gc_thread

2013-05-27 Thread Jaegeuk Kim
Hi, 2013-05-27 (월), 13:45 +0900, Namjae Jeon: > 2013/5/27, Jaegeuk Kim : > > Hi Namjae, > Hi Jaegeuk. > > First, Thanks for your interest. > > > > This is an interesting functionality. > > Could you describe why and when we need to do this? > > What are pros and cons? > > How can we use this? > A

Re: [f2fs-dev] [PATCH 2/2] f2fs: add sysfs support for controlling the gc_thread

2013-05-26 Thread Namjae Jeon
2013/5/27, Jaegeuk Kim : > Hi Namjae, Hi Jaegeuk. First, Thanks for your interest. > > This is an interesting functionality. > Could you describe why and when we need to do this? > What are pros and cons? > How can we use this? As the default size of the F2FS parameter can vary as per the storage

Re: [f2fs-dev] [PATCH 2/2] f2fs: add sysfs support for controlling the gc_thread

2013-05-26 Thread Jaegeuk Kim
Hi Namjae, This is an interesting functionality. Could you describe why and when we need to do this? What are pros and cons? How can we use this? IMO, when users try to control IO latencies, it seems that they can trigger such the explicit GCs, but in order to do that, they also need to know the

[f2fs-dev] [PATCH 2/2] f2fs: add sysfs support for controlling the gc_thread

2013-05-25 Thread Namjae Jeon
From: Namjae Jeon Add sysfs entries to control the timing parameters for f2fs gc thread and also provide a control flag, which will allow the user to forcefully start a FG garbage collection if required. Signed-off-by: Namjae Jeon Signed-off-by: Pankaj Kumar --- fs/f2fs/f2fs.h |6 +++ fs