On Tue, 2007-03-20 at 12:51 +0200, Adrian Hunter wrote:This function seems to be completely broken. JFF2 calls iget() while holding c->erase_completion_lock spinlock. This is one problem. Iget can sleep. The other one is that JFFS2 calls jffs2_gc_fetch_inode() while holding c->alloc_sem and c->wbuf_sem semaphores. What happens if JFFS2 races with pdflush, and pdflush wins, clears inode, then VFS calls read_inode() to satisfy JFFS2's iget() request. It is a _deadlock_ because the in read_inode JFFS2 will try to lock the above semaphores again. The wbuf recovery function has to be re-worked or just disabled - because returning error is better then fall into a deadlock. David, comments, ideas? -- Best regards, Artem Bityutskiy (Битюцкий Артём) -
| Fernando Luis | [PATCH] affinity is not defined in non-smp kernels - x86_64 |
| monstr | [PATCH 52/60] microblaze_v4: fcntl.h sockios.h ucontext.h |
| Roland Dreier | Re: Integration of SCST in the mainstream Linux kernel |
| Greg KH | [PATCH] Input: add appleir USB driver |
git: | |
| Shawn O. Pearce | Re: .gitlink for Summer of Code |
| Linus Torvalds | Re: What's in git.git (stable), and Announcing GIT 1.4.4.3 |
| Josh Boyer | git-unpack-objects |
| Jakub Narebski | Re: Git User's Survey 2007 unfinished summary continued |
| Richard Stallman | Real men don't attack straw men |
| Henning Brauer | Re: About Xen: maybe a reiterative question but .. |
| sonjaya | openvpn on openbsd 4.1 |
| Stefan Beke | mail dovecot: pipe() failed: Too many open files |
| Indan Zupancic | Re: Realtek 8111C transmit timed out |
| Julius Volz | [PATCHv3 21/24] IPVS: Add function to determine if IPv6 address is local |
| KOSAKI Motohiro | [bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin" |
| Ilpo Järvinen | Re: [bug] stuck localhost TCP connections, v2.6.26-rc3+ |
