Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 84e54c46 authored by Linus Torvalds's avatar Linus Torvalds
Browse files
Pull device mapper fix from Mike Snitzer:
 "Fix a 112 byte leak for each IO request that is requeued while DM
  multipath is handling faults due to path failures.

  This leak does not happen if blk-mq DM multipath is used.  It only
  occurs if .request_fn DM multipath is stacked ontop of blk-mq paths
  (e.g. scsi-mq devices)"

* tag 'dm-4.5-fix' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm:
  dm: fix dm_rq_target_io leak on faults with .request_fn DM w/ blk-mq paths
parents 0ecdcd3a 4328daa2
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1191,6 +1191,8 @@ static void dm_unprep_request(struct request *rq)

	if (clone)
		free_rq_clone(clone);
	else if (!tio->md->queue->mq_ops)
		free_rq_tio(tio);
}

/*