]> git.baikalelectronics.ru Git - kernel.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)
commit4d68e598e00c5c9b4436d9ff93d5d687e03c891d
tree6d5e21001ab640e94b64c169dec25664273cd822
parent8e8f3668a84acb1d235722c46634a785efcdcd61
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