Date: Wed, 23 Dec 2009 10:02:18 -0800 From: Ali Mashtizadeh <mashtizadeh@gmail.com> To: Attilio Rao <attilio@freebsd.org> Cc: freebsd-current@freebsd.org, Alexander Zagrebin <alexz@visp.ru> Subject: Re: 8.0-RELEASE: disk IO temporarily hangs up (ZFS or ATA related problem) Message-ID: <440b3e930912231002i46221520jc4c57e6c2dd697e8@mail.gmail.com> In-Reply-To: <3bbf2fe10912181004w2a1abff2re8f77fd6a8bc3233@mail.gmail.com> References: <39309F560B98453EBB9AEA0F29D9D80E@vosz.local> <3bbf2fe10912181004w2a1abff2re8f77fd6a8bc3233@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Attilio, I tried your patch since I had a similar problem but in my case I usually seem to lockup 'zpool' or 'zfs' command line tools immediately. The txg_sync_thread [1] never makes the cv_broadcast for CV tx->tx_sync_done_cv. So the user utility is sitting in txg_wait_synced function at the cv_wait. It his related to the bug your patch is supposed to fix? [1] http://svn.freebsd.org/viewvc/base/head/sys/cddl/contrib/opensolaris/ut= s/common/fs/zfs/txg.c?view=3Dannotate Just to note I sync'ed my tree from BSD 8.0 to the top of STABLE_8 so far I've have had zero luck in getting ZFS working on any hard drive and even on md devices. Thanks, ~ Ali On Fri, Dec 18, 2009 at 10:04 AM, Attilio Rao <attilio@freebsd.org> wrote: > 2009/12/17 Alexander Zagrebin <alexz@visp.ru>: >> Hi! >> >> I use onboard ICH7 SATA controller with two disks attached: >> >> atapci1: <Intel ICH7 SATA300 controller> port >> 0x30c8-0x30cf,0x30ec-0x30ef,0x30c0-0x30c7,0x30e8-0x30eb,0x30a0-0x30af ir= q 19 >> at device 31.2 on pci0 >> atapci1: [ITHREAD] >> ata2: <ATA channel 0> on atapci1 >> ata2: [ITHREAD] >> ata3: <ATA channel 1> on atapci1 >> ata3: [ITHREAD] >> ad4: 1430799MB <Seagate ST31500541AS CC34> at ata2-master SATA150 >> ad6: 1430799MB <WDC WD15EADS-00P8B0 01.00A01> at ata3-master SATA150 >> >> The disks are used for mirrored ZFS pool. >> I have noticed that the system periodically locks up on disk operations. >> After approx. 10 min of very slow disk i/o (several KB/s) the speed of d= isk >> operations restores to normal. >> gstat has shown that the problem is in ad6. > > Want you try this patch and report?: > http://people.freebsd.org/~attilio/lockmgr_lostwake.diff > > It should apply to STABLE_8 and if not, just report and I will help. > > Thanks, > Attilio > > > -- > Peace can only be achieved by understanding - A. Einstein > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= " > --=20 Ali Mashtizadeh =D8=B9=D9=84=DB=8C =D9=85=D8=B4=D8=AA=DB=8C =D8=B2=D8=A7=D8=AF=D9=87
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?440b3e930912231002i46221520jc4c57e6c2dd697e8>