lkml.org 
[lkml]   [2004]   [Mar]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2][RFC] add detailed error values to block layer
Hi!

> +enum {
> + BLK_SUCCESS,
> + BLK_ERR, /* Generic error like -EIO */
> + BLK_FATAL_DEV, /* Fatal driver error */

perhaps this should be fatal *device* error?

> + BLK_FATAL_TRNSPT, /* Fatal transport error */
> + BLK_FATAL_DRV, /* Fatal driver error */
> + BLK_RETRY_DEV, /* Device error, I/O may be retried */
> + BLK_RETRY_TRNSPT, /* Transport error, I/O may retried */
> + BLK_RETRY_DRV, /* Driver error, I/O may be retried */
> +};
> +
> +/*
> * end_request() and friends. Must be called with the request queue spinlock
> * acquired. All functions called within end_request() _must_be_ atomic.
> *


--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:01    [W:3.324 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site