Re: [stable] [PATCH] nilfs2: fix data loss in mmap page write for hole blocks

2011-04-11 Thread Greg KH
On Sat, Apr 02, 2011 at 11:47:11AM +0900, Ryusuke Konishi wrote: > Please consider including the attached patch to stable trees between > 2.6.30 and 2.6.37. Thanks, I've used this version for the .32 and .33-stable trees. greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux

[PATCH] nilfs2: fix data loss in mmap page write for hole blocks

2011-04-01 Thread Ryusuke Konishi
: [PATCH] nilfs2: fix data loss in mmap page write for hole blocks This commit is applicable to 2.6.38, but is not to prior kernels as is. It will cause a build error against older kernels due to a change of nilfs_set_file_dirty function. I tested the attached patch for every kernel through from

Re: [PATCH] nilfs2: fix data loss in mmap page write for hole blocks

2011-03-28 Thread Ryusuke Konishi
On Mon, 28 Mar 2011 10:15:50 +0200, dexen deVries wrote: > Hi, > > On Sunday 27 of March 2011 17:47:53 Ryusuke wrote: > > From the result of a function test of mmap, mmap write to shared pages > > turned out to be broken for hole blocks. It doesn't write out filled > > blocks and the data will be

Re: [PATCH] nilfs2: fix data loss in mmap page write for hole blocks

2011-03-28 Thread dexen deVries
Hi, On Sunday 27 of March 2011 17:47:53 Ryusuke wrote: > From the result of a function test of mmap, mmap write to shared pages > turned out to be broken for hole blocks. It doesn't write out filled > blocks and the data will be lost after umount. This is due to a bug > that the target file is n

[PATCH] nilfs2: fix data loss in mmap page write for hole blocks

2011-03-27 Thread Ryusuke Konishi
>From the result of a function test of mmap, mmap write to shared pages turned out to be broken for hole blocks. It doesn't write out filled blocks and the data will be lost after umount. This is due to a bug that the target file is not queued for log writer when filling hole blocks. Also, nilfs