[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YqnA+nZzkPYsw6CI@infradead.org>
Date: Wed, 15 Jun 2022 04:22:34 -0700
From: Christoph Hellwig <hch@...radead.org>
To: liubo <liubo254@...wei.com>
Cc: akpm@...ux-foundation.org, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, ying.huang@...el.com,
willy@...radead.org, vbabka@...e.cz, surenb@...gle.com,
peterx@...hat.com, neilb@...e.de, naoya.horiguchi@....com,
minchan@...nel.org, linmiaohe@...wei.com, louhongxiang@...wei.com,
linfeilong@...wei.com
Subject: Re: [PATCH v2 2/2] mm/swapfile: release swap info when swap device
is unpluged
Sorry, but this is simply broken. We can't just do d_path magic
here. That being said the problem is real, and I think the right
answer is to offer a swapoff variant that doesn't need to open the
underlying device or file, but useѕ some kind of handle. I'm just
not sure what would be a good handle here.
Powered by blists - more mailing lists