| To: | xfs-masters@xxxxxxxxxxx |
|---|---|
| Subject: | [Bug 22452] data corruption after mmap()ing a file and writev() some data to another file |
| From: | bugzilla-daemon@xxxxxxxxxxxxxxxxxxx |
| Date: | Tue, 9 Nov 2010 00:26:17 GMT |
| Auto-submitted: | auto-generated |
| In-reply-to: | <bug-22452-470@xxxxxxxxxxxxxxxxxxxxxxxxx/> |
| References: | <bug-22452-470@xxxxxxxxxxxxxxxxxxxxxxxxx/> |
https://bugzilla.kernel.org/show_bug.cgi?id=22452 --- Comment #2 from Christoph Hellwig <hch@xxxxxx> 2010-11-09 00:26:06 --- Created an attachment (id=36842) --> (https://bugzilla.kernel.org/attachment.cgi?id=36842) Handle delalloc truncation during failed writes without xfs_setattr This is a patch that fixes your testcase by not using xfs_setattr for truncating delalloc blocks on a failed write, but rather doing it manually. It does pass xfstests for me, but probably isn't the final version yet. I'll move additional discussion on it to the mailinglist. Btw, can you license your testcase under GPLv2 or any less restrictive license? We'd like to include it in the xfstests regression test suite. -- Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. |
| Previous by Date: | [Bug 22452] data corruption after mmap()ing a file and writev() some data to another file, bugzilla-daemon |
|---|---|
| Next by Date: | [Bug 22452] data corruption after mmap()ing a file and writev() some data to another file, bugzilla-daemon |
| Previous by Thread: | [Bug 22452] data corruption after mmap()ing a file and writev() some data to another file, bugzilla-daemon |
| Next by Thread: | [Bug 22452] data corruption after mmap()ing a file and writev() some data to another file, bugzilla-daemon |
| Indexes: | [Date] [Thread] [Top] [All Lists] |