nilfs2: fix dirty page accounting leak causing hang at write
Bruno Prémont and Dunphy, Bill noticed me that NILFS will certainly hang on ARM-based targets. I found this was caused by an underflow of dirty pages counter. A b-tree cache routine was marking page dirty without adjusting page account information. This fixes the dirty page accounting leak and resolves the hang on arm-based targets. Reported-by: NBruno Prémont <bonbons@linux-vserver.org> Reported-by: NDunphy, Bill <WDunphy@tandbergdata.com> Signed-off-by: NRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> Tested-by: NBruno Prémont <bonbons@linux-vserver.org> Cc: stable <stable@kernel.org>
Showing
想要评论请 注册 或 登录