Re: 8.0-RELEASE: disk IO temporarily hangs up (ZFS or ATA related problem)

From: Ali Mashtizadeh <mashtizadeh_at_gmail.com>
Date: Wed, 23 Dec 2009 10:02:18 -0800
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/uts/common/fs/zfs/txg.c?view=annotate

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_at_freebsd.org> wrote:
> 2009/12/17 Alexander Zagrebin <alexz_at_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 irq 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 disk
>> 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_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>



-- 
Ali Mashtizadeh
علی مشتی زاده
Received on Wed Dec 23 2009 - 17:31:49 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:59 UTC