linux/drivers/block/paride
Christoph Hellwig 2a842acab1 block: introduce new block status code type
Currently we use nornal Linux errno values in the block layer, and while
we accept any error a few have overloaded magic meanings.  This patch
instead introduces a new  blk_status_t value that holds block layer specific
status codes and explicitly explains their meaning.  Helpers to convert from
and to the previous special meanings are provided for now, but I suspect
we want to get rid of them in the long run - those drivers that have a
errno input (e.g. networking) usually get errnos that don't know about
the special block layer overloads, and similarly returning them to userspace
will usually return somethings that strictly speaking isn't correct
for file system operations, but that's left as an exercise for later.

For now the set of errors is a very limited set that closely corresponds
to the previous overloaded errno values, but there is some low hanging
fruite to improve it.

blk_status_t (ab)uses the sparse __bitwise annotations to allow for sparse
typechecking, so that we can easily catch places passing the wrong values.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
2017-06-09 09:27:32 -06:00
..
aten.c [PATCH] paride_register(): shuffle return values 2006-12-07 08:39:33 -08:00
bpck.c [PATCH] paride_register(): shuffle return values 2006-12-07 08:39:33 -08:00
bpck6.c module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30
comm.c [PATCH] paride_register(): shuffle return values 2006-12-07 08:39:33 -08:00
dstr.c [PATCH] paride_register(): shuffle return values 2006-12-07 08:39:33 -08:00
epat.c [PATCH] paride_register(): shuffle return values 2006-12-07 08:39:33 -08:00
epia.c [PATCH] paride_register(): shuffle return values 2006-12-07 08:39:33 -08:00
fit2.c [PATCH] paride_register(): shuffle return values 2006-12-07 08:39:33 -08:00
fit3.c [PATCH] paride_register(): shuffle return values 2006-12-07 08:39:33 -08:00
friq.c [PATCH] paride_register(): shuffle return values 2006-12-07 08:39:33 -08:00
frpw.c [PATCH] paride_register(): shuffle return values 2006-12-07 08:39:33 -08:00
kbic.c [PATCH] paride_register(): shuffle return values 2006-12-07 08:39:33 -08:00
Kconfig block: make scsi_request and scsi ioctl support optional 2017-01-31 10:53:05 -07:00
ktti.c [PATCH] paride_register(): shuffle return values 2006-12-07 08:39:33 -08:00
Makefile
mkd
on20.c [PATCH] paride_register(): shuffle return values 2006-12-07 08:39:33 -08:00
on26.c [PATCH] paride_register(): shuffle return values 2006-12-07 08:39:33 -08:00
paride.c paride: use new parport device model 2015-06-01 07:10:23 +09:00
paride.h paride: use new parport device model 2015-06-01 07:10:23 +09:00
pcd.c block: introduce new block status code type 2017-06-09 09:27:32 -06:00
pd.c block: introduce new block status code type 2017-06-09 09:27:32 -06:00
pf.c block: introduce new block status code type 2017-06-09 09:27:32 -06:00
pg.c scripts/spelling.txt: add "overide" pattern and fix typo instances 2017-03-09 17:01:09 -08:00
ppc6lnx.c
pseudo.h WorkStruct: make allyesconfig 2006-11-22 14:57:56 +00:00
pt.c scripts/spelling.txt: add "overide" pattern and fix typo instances 2017-03-09 17:01:09 -08:00
Transition-notes