linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Fw: Re: Process hangs copying large file to cifs filesystem
@ 2004-06-25  8:29 Andrew Morton
  2004-06-25 14:52 ` viro
  0 siblings, 1 reply; 8+ messages in thread
From: Andrew Morton @ 2004-06-25  8:29 UTC (permalink / raw)
  To: viro@parcelfarce.linux.theplanet.co.uk, Steven French; +Cc: linux-fsdevel


This person's CIFS hang is happening because the hlist_unhashed() test in
__mark_inode_dirty() is returning true, so the inode never gets itself onto
sb->s_dirty.  The writeback paths have no way to write out the pagecache.

a) Why are CIFS inodes not hashed?

b) Why does __mark_inode_dirty() skip unhashed inodes anyway?


Taking the hlist_unhashed() test out fixed it up, although CIFS only wants
to write stuff out at 2 Mbytes/sec on 100bT, whereas NFS does wirespeed...



Begin forwarded message:

Date: Wed, 23 Jun 2004 12:44:54 +0100
From: Nuno Ferreira <nuno.ferreira@graycell.biz>
To: Jens Axboe <axboe@suse.de>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: Process hangs copying large file to cifs filesystem


On Sex, 2004-05-28 at 17:04 +0100, Nuno Ferreira wrote:
> On Sex, 2004-05-28 at 16:22 +0200, Jens Axboe wrote:
> > On Fri, May 28 2004, Nuno Ferreira wrote:
> > > On Qui, 2004-05-27 at 16:45 +0100, Nuno Ferreira wrote:
> > > > Hi,
> > > > I'm trying to copy a large file (200Mb or bigger) from an ext3
> > > > filesystem to a windows share mounted using CIFS and the cp process
> > > > hangs, sometimes for a long time (several minutes).
> > > > Calling ps, I can see that it's blocking on blk_congestion_wait. 
> [...]
> > 
> > A sysrq-t back trace of that process would be interesting to see.



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2004-06-25 23:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-25  8:29 Fw: Re: Process hangs copying large file to cifs filesystem Andrew Morton
2004-06-25 14:52 ` viro
2004-06-25 18:32   ` Andrew Morton
2004-06-25 18:48     ` Linus Torvalds
2004-06-25 19:39       ` Andrew Morton
     [not found]         ` <OF980F9E62.86CA6214-ON87256EBE.007E2269-86256EBE.007E1390@us.ibm.com>
2004-06-25 23:52           ` Andrew Morton
2004-06-25 20:03       ` Linus Torvalds
2004-06-25 20:21         ` Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).