[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <nycvar.YFH.7.76.1710032223170.17517@jbgna.fhfr.qr>
Date: Tue, 3 Oct 2017 22:24:51 +0200 (CEST)
From: Jiri Kosina <jikos@...nel.org>
To: Bart Van Assche <Bart.VanAssche@....com>
cc: "boris.ostrovsky@...cle.com" <boris.ostrovsky@...cle.com>,
"ONeukum@...e.com" <ONeukum@...e.com>,
"linux-block@...r.kernel.org" <linux-block@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"nborisov@...e.com" <nborisov@...e.com>,
"oleg.b.antonyan@...il.com" <oleg.b.antonyan@...il.com>,
"linux-pm@...r.kernel.org" <linux-pm@...r.kernel.org>,
"linux-xfs@...r.kernel.org" <linux-xfs@...r.kernel.org>,
"pavel@....cz" <pavel@....cz>,
"darrick.wong@...cle.com" <darrick.wong@...cle.com>,
"viro@...iv.linux.org.uk" <viro@...iv.linux.org.uk>,
"ming.lei@...hat.com" <ming.lei@...hat.com>,
"rjw@...ysocki.net" <rjw@...ysocki.net>,
"jgross@...e.com" <jgross@...e.com>,
"oleksandr@...alenko.name" <oleksandr@...alenko.name>,
"todd.e.brandt@...ux.intel.com" <todd.e.brandt@...ux.intel.com>,
"martin.petersen@...cle.com" <martin.petersen@...cle.com>,
"linux-fsdevel@...r.kernel.org" <linux-fsdevel@...r.kernel.org>,
"mcgrof@...nel.org" <mcgrof@...nel.org>,
"len.brown@...el.com" <len.brown@...el.com>,
"tytso@....edu" <tytso@....edu>, "jack@...e.cz" <jack@...e.cz>
Subject: Re: [RFC 5/5] pm: remove kernel thread freezing
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
Powered by blists - more mailing lists