Date: Sun, 7 Mar 2004 21:42:18 +0000 From: Nik Clayton <nik@freebsd.org> To: Nik Clayton <nik@freebsd.org> Cc: current@freebsd.org Subject: Re: System hangs with vnode backed md(4) devices -- still a problem? Message-ID: <20040307214218.GA87623@clan.nothing-going-on.org> In-Reply-To: <22B16B3E-6D5F-11D8-BDE4-000393863D48@freebsd.org> References: <22B16B3E-6D5F-11D8-BDE4-000393863D48@freebsd.org>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On Wed, Mar 03, 2004 at 10:07:17PM +0000, Nik Clayton wrote: > Toward the end of last year, through to earlier this year, -current had > a problem with vnode backed md(4) devices. Specifically, > > truncate -s 6G foo.md > mdconfig -a -t vnode -f foo.md -u 0 > newfs /dev/md0 > mount /dev/md0 /mnt > rsync /large/amount/of/data /mnt > > would cause the rsync process to eventually get stuck in a wdrain > state, and other processes in the system would gradually hang -- > processes were still running, but doing anything that might need to > read from a buffer caused the process to hang. Eventually, everything > would be hung. > > If I'm reading the mailing lists right, this was supposed to be solved > here: > > http://lists.freebsd.org/pipermail/freebsd-current/2003-November/ > 013183.html > > However, I'm still seeing the problem in -current from Jan 14th. So > I'm wondering if anyone else is seeing it, and if not, a rough idea of > when it was fixed. Following some off-list suggestions, I can report that mount -o sync /dev/md0 /mnt solves the "copying large amounts of data will hang" problem. However, it replaces it with an "unmounting the md0 device hangs" problem. N -- FreeBSD: The Power to Serve http://www.freebsd.org/ (__) FreeBSD Documentation Project http://www.freebsd.org/docproj/ \\\'',) \/ \ ^ --- 15B8 3FFC DDB4 34B0 AA5F 94B7 93A8 0764 2C37 E375 --- .\._/_) [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAS5c6k6gHZCw343URAuE0AKCQq2Sh25adm4KcIBqW9EVPl2O2AwCdFYyK 4EfviJVt74q3GxJ53EbXQD8= =xxdg -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040307214218.GA87623>
