[Bug 11688] Oops while writing on a newly ext4 formated 1TB partition on a external USB drive

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

 



http://bugzilla.kernel.org/show_bug.cgi?id=11688





------- Comment #9 from jack@xxxxxxx  2009-01-20 09:18 -------
Ted, I've looked into this and it is a bug in ext4. It should call
grab_cache_page_write_begin() with AOP_FLAG_NOFS since it cannot handle
recursion into the filesystem for freeing memory. The problem is that at the
time grab_cache_page_write_begin() is called, a transaction is already started
- this is what quota code complains about (because it also needs to start a
transaction but current->journal_info is already occupied by ext4).

If we wanted to avoid AOP_FLAG_NOFS we could get the page, start a transaction,
lock and check the page but that's going to be a bit nasty.


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux