All of lore.kernel.org
 help / color / mirror / Atom feed
* linux-next dm-thinp regression due to "bio: skip atomic inc/dec of ->bi_remaining for non-chains"
@ 2015-05-13 19:28 Mike Snitzer
  2015-05-14  2:49 ` Mike Snitzer
  0 siblings, 1 reply; 5+ messages in thread
From: Mike Snitzer @ 2015-05-13 19:28 UTC (permalink / raw)
  To: axboe; +Cc: dm-devel, hch

The device-mapper-test-suite (dmts) thinp tests no longer run due to
linux-block.git commit c4cf5261 ("bio: skip atomic inc/dec of
->bi_remaining for non-chains")

That commit has been the focus of some other work I have pending because
I was forced to adapt it due to bi_remaining no longer being accessible
directly.  So it was surprising/interesting for this commit to take
center stage in the context of dm-thinp regression.

bios don't get submitted (simplest reproducer is the 'dd_benchmark' test
in the dmts thin-provisioning suite which just uses dd with oflag=direct
immediately after the DM thin device is created).  The top-level DM
device stays at 100% utilization but no progress is made.  Reverting
the commit in question resolves the problem.

But I'm able to use lvm2 to create thin devices that allow IO to
complete; so I haven't figured out what is so special about dmts (which
uses dmsetup directly instead of lvm2).

I'll see if I can figure out what might be happening... but would
welcome more eyes on this to see if anything stands out relative to the
dm-thin.c changes.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-05-14 15:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-13 19:28 linux-next dm-thinp regression due to "bio: skip atomic inc/dec of ->bi_remaining for non-chains" Mike Snitzer
2015-05-14  2:49 ` Mike Snitzer
2015-05-14  3:29   ` Mike Snitzer
2015-05-14  7:58     ` Jan Kara
2015-05-14 15:05       ` Mike Snitzer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.