]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
block: add a error_count field to struct request
authorChristoph Hellwig <hch@lst.de>
Thu, 20 Apr 2017 14:03:11 +0000 (16:03 +0200)
committerJens Axboe <axboe@fb.com>
Thu, 20 Apr 2017 18:16:10 +0000 (12:16 -0600)
commite26738e037f34aedfe05e412f442833f44f4a6e5
tree6d5e21001ab640e94b64c169dec25664273cd822
parent453f83418d04ed98be0f28868aad74c3dbdfb2be
block: add a error_count field to struct request

This is for the legacy floppy and ataflop drivers that currently abuse
->errors for this purpose.  It's stashed away in a union to not grow
the struct size, the other fields are either used by modern drivers
for different purposes or the I/O scheduler before queing the I/O
to drivers.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
include/linux/blkdev.h