zfs locking

Andriy Gapon avg at FreeBSD.org
Tue Jan 14 14:04:41 UTC 2014


on 14/01/2014 15:36 Slawa Olhovchenkov said the following:
>                                 DTRACE_PROBE2(l2arc__read, vdev_t *, vd,
>                                     zio_t *, rzio);
>                                 ARCSTAT_INCR(arcstat_l2_read_bytes, // arc_read+2137
>                                     hdr->b_l2hdr->b_asize);
> 
>                                 if (*arc_flags & ARC_NOWAIT) {
>                                         zio_nowait(rzio);
>                                         return (0);
>                                 }
> 
>                                 ASSERT(*arc_flags & ARC_WAIT);
>                                 if (zio_wait(rzio) == 0)
>                                         return (0);
> 
>                                 /* l2arc read error; goto zio_read() */
> 
> Is this locking issue?

This looks like a bug that was already fixed in illumos and FreeBSD head.
What version of FreeBSD do you use?
See r258388 and r258389.

-- 
Andriy Gapon


More information about the freebsd-fs mailing list