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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 lost after umount.  This is due to a bug
> > that the target file is not queued for log writer when filling hole
> > blocks. (...)
> 
> recently I've experienced a few times data loss & hang of several applications 
> with ktorrent running. It seems the transfered files were mostly empty after 
> reboot. Related to this regression & fix?

I don't know your applications actually do what.  If you find mmap
calls for file IOs in strace analysis, this issue seems the likely
cause.

Thanks,
Ryusuke Konishi
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux BTRFS]     [Linux CIFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux