Hi Mike, On 30 Oct 2007, at 09:23, Anton Altaparmakov wrote:
On 30 Oct 2007, at 08:00, Mike Galbraith wrote:On Mon, 2007-10-29 at 16:18 +0100, Mike Galbraith wrote:Not being very good at walking away from unsolved mysteries, I chased itdown. The problem is that...commit[a32ea1e1f925399e0d81ca3f7394a44a6dafa12c] Fix read/truncate race...calls ntfs_readpage() for a zero i_size inode, which it isn't accustomed to.Great, thanks for doing that!Below is the hammer which made my box a happy camper again.Yes that will fix it but the complete solution is more involved as there are three related bugs which explain why you were getting the hangs after the error... I will make a patch for all of these in the next few days...
Attached is a patch that should fix this and the other related issues I found.
Would you be able to test it in your setup? Thanks a lot in advance! Best regards, Anton -- Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @) Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK Linux NTFS maintainer, http://www.linux-ntfs.org/
Attachment:
ntfs-read-fix.diff
Description: Binary data
- Follow-Ups:
- References:
- 2.6.23 regression: second access of empty ntfs file leads to D state hang
- From: Mike Galbraith <[email protected]>
- Re: [Linux-NTFS-Dev] 2.6.23 regression: second access of empty ntfs file leads to D state hang
- From: Anton Altaparmakov <[email protected]>
- Re: [Linux-NTFS-Dev] 2.6.23 regression: second access of empty ntfs file leads to D state hang
- From: Mike Galbraith <[email protected]>
- Re: [Linux-NTFS-Dev] 2.6.23 regression: second access of empty ntfs file leads to D state hang
- From: Anton Altaparmakov <[email protected]>
- Re: [Linux-NTFS-Dev] 2.6.23 regression: second access of empty ntfs file leads to D state hang
- From: Mike Galbraith <[email protected]>
- Re: [Linux-NTFS-Dev] 2.6.23 regression: second access of empty ntfs file leads to D state hang
- From: Mike Galbraith <[email protected]>
- Re: [Linux-NTFS-Dev] 2.6.23 regression: second access of empty ntfs file leads to D state hang
- From: Mike Galbraith <[email protected]>
- Re: [Linux-NTFS-Dev] 2.6.23 regression: second access of empty ntfs file leads to D state hang
- From: Anton Altaparmakov <[email protected]>
- 2.6.23 regression: second access of empty ntfs file leads to D state hang
- Prev by Date: Re: writeout stalls in current -git
- Next by Date: [BUG] : kernel/built-in.o(.text+0x18db4):kernel/workqueue.c:823: undefined reference to `.L343'
- Previous by thread: Re: [Linux-NTFS-Dev] 2.6.23 regression: second access of empty ntfs file leads to D state hang
- Next by thread: Re: [Linux-NTFS-Dev] 2.6.23 regression: second access of empty ntfs file leads to D state hang
- Index(es):