https://github.com/torvalds/linux
Revision 0033dfd92a5646a78025e86f8df4d5b18181ba2c authored by Anton Ivanov on 08 November 2018, 13:07:23 UTC, committed by Jens Axboe on 08 November 2018, 13:16:09 UTC
The SYNC path doesn't initialize io_req->error, which can cause
random errors. Before the conversion to blk-mq, we always
completed requests with BLK_STS_OK status, but now we actually
look at the error field and this issue becomes apparent.

Signed-off-by: Anton Ivanov <anton.ivanov@cambridgegreys.com>

[axboe: fixed up commit message to explain what is actually going on]

Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent f3587d7
History
Tip revision: 0033dfd92a5646a78025e86f8df4d5b18181ba2c authored by Anton Ivanov on 08 November 2018, 13:07:23 UTC
ubd: fix missing initialization of io_req
Tip revision: 0033dfd
File Mode Size
lxdialog
tests
.gitignore -rw-r--r-- 87 bytes
Makefile -rw-r--r-- 7.9 KB
conf.c -rw-r--r-- 15.6 KB
confdata.c -rw-r--r-- 26.9 KB
expr.c -rw-r--r-- 30.1 KB
expr.h -rw-r--r-- 9.6 KB
gconf-cfg.sh -rwxr-xr-x 733 bytes
gconf.c -rw-r--r-- 38.0 KB
gconf.glade -rw-r--r-- 25.0 KB
images.c -rw-r--r-- 6.4 KB
kconf_id.c -rw-r--r-- 1.8 KB
list.h -rw-r--r-- 3.7 KB
lkc.h -rw-r--r-- 4.0 KB
lkc_proto.h -rw-r--r-- 2.5 KB
mconf-cfg.sh -rwxr-xr-x 1.1 KB
mconf.c -rw-r--r-- 27.4 KB
menu.c -rw-r--r-- 21.5 KB
merge_config.sh -rwxr-xr-x 4.2 KB
nconf-cfg.sh -rw-r--r-- 1.2 KB
nconf.c -rw-r--r-- 38.2 KB
nconf.gui.c -rw-r--r-- 14.8 KB
nconf.h -rw-r--r-- 1.8 KB
preprocess.c -rw-r--r-- 11.0 KB
qconf-cfg.sh -rwxr-xr-x 846 bytes
qconf.cc -rw-r--r-- 43.8 KB
qconf.h -rw-r--r-- 7.4 KB
streamline_config.pl -rwxr-xr-x 16.2 KB
symbol.c -rw-r--r-- 29.1 KB
util.c -rw-r--r-- 2.2 KB
zconf.l -rw-r--r-- 8.3 KB
zconf.y -rw-r--r-- 16.5 KB

back to top