NetBSD Problem Report #50423

From wiz@yt.nih.at  Fri Nov 13 15:01:19 2015
Return-Path: <wiz@yt.nih.at>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id E6F7CA654F
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 13 Nov 2015 15:01:18 +0000 (UTC)
Message-Id: <20151113135914.59CC32AC20B@yt.nih.at>
Date: Fri, 13 Nov 2015 14:59:14 +0100 (CET)
From: Thomas Klausner <wiz@NetBSD.org>
Reply-To: Thomas Klausner <wiz@NetBSD.org>
To: gnats-bugs@NetBSD.org
Subject: kernel interface for reporting errors to file systems
X-Send-Pr-Version: 3.95

>Number:         50423
>Category:       kern
>Synopsis:       kernel interface for reporting errors to file systems
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 13 15:05:00 +0000 2015
>Originator:     Thomas Klausner
>Release:        NetBSD 7.99.21
>Organization:
Curiosity is the very basis of education and if you tell me that 
curiosity killed the cat, I say only that the cat died nobly.
- Arnold Edinborough
>Environment:


Architecture: x86_64
Machine: amd64
>Description:
While Greg Oster and I were discussing RAID features, we decided it'd be
neat to have a kernel interface that could report disk or raid errors to
a file system.

The file system could then use the information from below to translate
this to errors that are meaningful to the user.

Direct reports from the disk/RAID are not as useful, since you could
have e.g. ffs-on-cgd-on-RAID, and if RAID just reports a checksum problem
in block 5100194 then the user will have no useful information at all.

>How-To-Repeat:

>Fix:
Design such a kernel interface, support it from sd/wd/raid/ccd/lvm/...
and the file systems.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.