Do not retry failed sync commands so the original status may be seen
without issuing unnecessary retries.
Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
return PTR_ERR(req);
req->cmd_type = REQ_TYPE_DRV_PRIV;
return PTR_ERR(req);
req->cmd_type = REQ_TYPE_DRV_PRIV;
+ req->cmd_flags = REQ_FAILFAST_DRIVER;
req->__data_len = 0;
req->__sector = (sector_t) -1;
req->bio = req->biotail = NULL;
req->__data_len = 0;
req->__sector = (sector_t) -1;
req->bio = req->biotail = NULL;