GC starves write's in 2.6.20

David Woodhouse dwmw2 at infradead.org
Fri Jun 1 08:11:39 EDT 2007


On Thu, 2007-05-31 at 16:41 +0200, Joakim Tjernlund wrote:
> We have noticed that deleting some 50 files, some a few MB big, in our
> JFFS2 FS and then directly start downloading a large rpm file sometimes
> stalls a write(2) call 10-15 secs, possibly more. The GC process is
> running and it appears to be blocking the write(2). However the FS is
> just 50-60% full so I don't think stalling writes for that long time is
> justified. These long delays causes a timeout in the tftp demon and
> the transmission is aborted. Any ideas? 

Hm. What's the GC process actually doing? If you kill it, does the file
system still run GC in the context of the processes which are writing?

-- 
dwmw2





More information about the linux-mtd mailing list