SVNews r332538

NOTE: This service is experimental and subject to change! Use at your own risk!

2018-04-16 03:48:37 - r332538 by mav (Alexander Motin)

Complete list of files affected by revision r332538:

(Note: At the moment, these links point to ViewVC on They are probably slow. Do not overuse.)

   Contents     MODIFY   /stable/11  
  History   Contents   Diff   MODIFY   /stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_indirect.c  

Commit message:

MFC r329805: MFV r329803:
9080 recursive enter of vdev_indirect_rwlock from vdev_indirect_remap()


A scenario came up where a callback executed by vdev_indirect_remap() on a
vdev, calls
vdev_indirect_remap() on the same vdev and tries to reacquire
vdev_indirect_rwlock that
was already acquired from the first call to vdev_indirect_remap(). The specific
is that we want to remap a block pointer that is snapshoted but its dataset's
is not cached. So in order to add it we issue a read through a
vdev_indirect_remap() on the
same vdev, which brings up the aforementioned issue.

Reviewed by: Matthew Ahrens <>
Reviewed by: George Wilson <>
Approved by: Hans Rosenfeld <>
Author: Serapheim Dimitropoulos <>


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 16 ms, 2 files printed. Current time is 2018-04-23 15:21:03. All times are in UTC/GMT.