Re: [RFC 5/5] pm: remove kernel thread freezing

From: Jiri Kosina
Date: Tue Oct 03 2017 - 16:24:58 EST


On Tue, 3 Oct 2017, Bart Van Assche wrote:

> If just a single driver would use that API to prevent that I/O occurs while
> processes are frozen then this patch will break that driver. I would like to
> know your opinion about the following patch in particular: "[PATCH v4 1/7] md:
> Make md resync and reshape threads freezable"
> (https://www.spinics.net/lists/linux-block/msg17854.html).

Alright, if there are kthreads which are actually *creating* new I/O
(contrary to kthreads being I/O completion helpers) -- which apparently is
the md case here, then those definitely have to be frozen in some form.

--
Jiri Kosina
SUSE Labs