GC starves write's in 2.6.20

Joakim Tjernlund joakim.tjernlund at transmode.se
Thu May 31 10:41:57 EDT 2007


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?

 Jocke




More information about the linux-mtd mailing list