[dm-devel] dm thin-volume hung as swap: bug or as-design ?
Alasdair G Kergon
agk at redhat.com
Fri Jan 29 13:57:25 UTC 2021
On Fri, Jan 29, 2021 at 06:40:06PM +0800, Coly Li wrote:
> Recently I receive a report that whole system hung and no response after
> a while with I/O load. The special configuration is the dm thin-pool
> volume is used as the swap partition of the system.
> My questions are,
> - Can a thin-pool volume be used as swap device?
Yes in principle, but it won't get much testing as it's not
necessarily a particularly sensible configuration.
- You'd normally prefer fully-pre-allocated disk space for swap
and turn off the zeroing.
Is there some use-case where it does make more sense?
> - The above description is a bug, or an already know issue which should
> be avoided ?
Bug.
Alasdair
More information about the dm-devel
mailing list