diff options
author | mav <mav@FreeBSD.org> | 2016-10-29 08:53:38 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2016-10-29 08:53:38 +0000 |
commit | dc29dff477c42cca3d73a33056507a9d2caef33d (patch) | |
tree | cbe857738de8340aefb21688be507509eeaa8f41 /lib/libc/tests/stdlib/tsearch_test.c | |
parent | 2c51319876e43279c95d2cdc537d65784b50252d (diff) | |
download | FreeBSD-src-dc29dff477c42cca3d73a33056507a9d2caef33d.zip FreeBSD-src-dc29dff477c42cca3d73a33056507a9d2caef33d.tar.gz |
MFC r306424: MFV r306422:
7254 ztest failed assertion in ztest_dataset_dirobj_verify: dirobjs + 1 == usedobjs
dsl_dataset_space is looking at the ds_bp's fill count while
dmu_objset_write_ready() is concurrently modifying it. This fix adds an
rrwlock to protect the ds_bp.
Closes #180
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Prakash Surya <prakash.surya@delphix.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Steve Gonczi <steve.gonczi@delphix.com>
Author: Paul Dagnelie <pcd@delphix.com>
Diffstat (limited to 'lib/libc/tests/stdlib/tsearch_test.c')
0 files changed, 0 insertions, 0 deletions