Re: [f2fs-dev] [PATCH 3.15 2/2] f2fs: check bdi-dirty_exceeded when trying to skip data writes

2014-07-15 Thread Jaegeuk Kim
On Mon, Jul 14, 2014 at 05:53:36PM -0700, Greg KH wrote:
 On Mon, Jul 14, 2014 at 07:52:51AM -0700, Jaegeuk Kim wrote:
  commit dd6b9bf5883c3ca9c17bac80ccd8615fe5a452a3 upstream.
 
 You mean 2743f865543c0c4a5e12fc13edb2bf89a6e9687c, right?

Ah, correct.
Thank you. :)

 
 thanks,
 
 greg k-h
 
  
  If we don't check the current backing device status, balance_dirty_pages can
  fall into infinite pausing routine.
  
  This can be occurred when a lot of directories make a small number of dirty
  dentry pages including files.
  
  Reported-by: Brian Chadwick brianc...@westnet.com.au
  Signed-off-by: Jaegeuk Kim jaeg...@kernel.org
  ---
   fs/f2fs/node.c | 2 ++
   1 file changed, 2 insertions(+)
  
  diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c
  index a9c0495..5696bde 100644
  --- a/fs/f2fs/node.c
  +++ b/fs/f2fs/node.c
  @@ -42,6 +42,8 @@ bool available_free_memory(struct f2fs_sb_info *sbi, int 
  type)
  mem_size = (nm_i-nat_cnt * sizeof(struct nat_entry))  12;
  res = mem_size  ((val.totalram * nm_i-ram_thresh / 100)  2);
  } else if (type == DIRTY_DENTS) {
  +   if (sbi-sb-s_bdi-dirty_exceeded)
  +   return false;
  mem_size = get_pages(sbi, F2FS_DIRTY_DENTS);
  res = mem_size  ((val.totalram * nm_i-ram_thresh / 100)  1);
  }
  -- 
  2.0.1.472.g6f92e5f
  
  --
  To unsubscribe from this list: send the line unsubscribe stable in
  the body of a message to majord...@vger.kernel.org
  More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 
Jaegeuk Kim

--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
___
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel


[f2fs-dev] Precision stamping/ Machining parts Supply与您共享了相册。

2014-07-15 Thread Precision stamping/ Machining parts Supply

Dear Sir/Ms,

Good day!
As an ISO certified factory, we specialized manufacture Mould making/ Sheet  
metal process/ Die-casting/ Precision stamping/ Machining parts, with  
strong competitive price and excellent quality, for more than 20 years.
Any questions and enquiries will be highly regarded. Just email us the  
drawing and detailed requirement, you will get a complete quotation with  
technical analysis within 24 hours.


Your prompt reply is highly appreciated.

Best regards sincerely!

 Michael

Shenzhen, China

https://picasaweb.google.com/lh/sredir?uname=105869672906083225131target=ALBUMid=5931217904831197761authkey=Gv1sRgCJmwiM_2yuXj-gEinvite=CKrjl_sHfeat=email
--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds___
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel