Project

General

Profile

Actions

Bug #5349

closed

verify that block pointer is plausible before reading

Added by Matthew Ahrens over 8 years ago. Updated over 8 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
Gerrit CR:
External Bug:

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.

Actions #1

Updated by Electric Monk over 8 years ago

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

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>

Actions

Also available in: Atom PDF