Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PWX-18756 fix race in restart and new req processing #190

Merged
merged 12 commits into from
Feb 25, 2021
Prev Previous commit
fix compilation
Signed-off-by: Lakshmi Narasimhan Sundararajan <lns@portworx.com>
  • Loading branch information
Lakshmi Narasimhan Sundararajan committed Feb 25, 2021
commit c1c0c3c84bd1d4821a3068164a11d984e31e0e1a
2 changes: 1 addition & 1 deletion pxd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1043,7 +1043,7 @@ static blk_status_t pxd_queue_rq(struct blk_mq_hw_ctx *hctx,
struct fuse_req *req = blk_mq_rq_to_pdu(rq);
struct fuse_conn *fc = &pxd_dev->ctx->fc;

if (BLK_RQ_IS_PASSTHROUGH(rq) || !READ_ONCE(fc->allow_disconnected)) {
if (BLK_RQ_IS_PASSTHROUGH(rq) || !READ_ONCE(fc->allow_disconnected))
return BLK_STS_IOERR;

pxd_printk("%s: dev m %d g %lld %s at %ld len %d bytes %d pages "
Expand Down