zfs locking

Slawa Olhovchenkov slw at zxy.spb.ru
Tue Jan 14 20:18:01 UTC 2014


On Tue, Jan 14, 2014 at 08:55:46PM +0100, Johan Hendriks wrote:

> Slawa Olhovchenkov schreef:
> > On Tue, Jan 14, 2014 at 04:03:35PM +0200, Andriy Gapon wrote:
> >
> >> 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.
> > 10.0-BETA1
> >
> > I don't see commit to 10.x
> > _______________________________________________
> > freebsd-fs at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> > To unsubscribe, send any mail to "freebsd-fs-unsubscribe at freebsd.org"
> I think that at that time HEAD was FreeBSD 10, FreeBSD 11 was created 
> later on.
> If you look at the source, you can see that these fixes are in the 
> source of 10.0

10 fork at r256279, before this fixes.


More information about the freebsd-fs mailing list