Project

General

Profile

Bug #7580

ztest failure in dbuf_read_impl

Added by Prakash Surya almost 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
zfs - Zettabyte File System
Start date:
2016-11-14
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

We need to prevent any reader whenever we're about the zero out all the blkptrs. To do this we need to grab the dn_struct_rwlock as writer in dbuf_write_children_ready and free_children just prior to calling bzero.

History

#1

Updated by Electric Monk almost 3 years ago

  • % Done changed from 0 to 100
  • Status changed from New to Closed

git commit 1a01181fdc809f40c64d5c6881ae3e4521a9d9c7

commit  1a01181fdc809f40c64d5c6881ae3e4521a9d9c7
Author: George Wilson <george.wilson@delphix.com>
Date:   2016-12-01T06:28:18.000Z

    7580 ztest failure in dbuf_read_impl
    Reviewed by: Pavel Zakharov <pavel.zakharov@delphix.com>
    Reviewed by: Steve Gonczi <steve.gonczi@delphix.com>
    Reviewed by: Matthew Ahrens <mahrens@delphix.com>
    Approved by: Dan McDonald <danmcd@omniti.com>

Also available in: Atom PDF