Project

General

Profile

Bug #5349

verify that block pointer is plausible before reading

Added by Matthew Ahrens almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Category:
zfs - Zettabyte File System
Start date:
2014-11-15
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

We want to verify that the block pointer is structurally valid, before
attempting to read it in. It can only be invalid in the case of a ZFS bug, but
this change will help identify such bugs in a more transparent way, by
panic'ing with a relevant message, rather than indexing off the end of an array
or something.

History

#1

Updated by Electric Monk almost 5 years ago

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

git commit f63ab3d5a84a12b474655fc7e700db3efba6c4c9

commit  f63ab3d5a84a12b474655fc7e700db3efba6c4c9
Author: Matthew Ahrens <mahrens@delphix.com>
Date:   2014-11-26T17:57:30.000Z

    5349 verify that block pointer is plausible before reading
    Reviewed by: Alex Reece <alex.reece@delphix.com>
    Reviewed by: Christopher Siden <christopher.siden@delphix.com>
    Reviewed by: Dan McDonald <danmcd@omniti.com>
    Reviewed by: George Wilson <george.wilson@delphix.com>
    Reviewed by: Richard Lowe <richlowe@richlowe.net>
    Reviewed by: Xin Li <delphij@FreeBSD.org>
    Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>
    Approved by: Gordon Ross <gwr@nexenta.com>

Also available in: Atom PDF