Re: [Linux-NTFS-Dev] 2.6.23 regression: second access of empty ntfs file leads to D state hang

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

 



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 it
down.  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



[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux