[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210208205514.GA46668@gardel-login>
Date: Mon, 8 Feb 2021 21:55:14 +0100
From: Lennart Poettering <mzxreary@...inter.de>
To: Matteo Croce <mcroce@...ux.microsoft.com>
Cc: linux-block@...r.kernel.org, linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org, Luca Boccassi <bluca@...ian.org>,
Jens Axboe <axboe@...nel.dk>,
Alexander Viro <viro@...iv.linux.org.uk>
Subject: Re: [PATCH 0/5] block: add a sequence number to disks
On Sa, 06.02.21 01:08, Matteo Croce (mcroce@...ux.microsoft.com) wrote:
> From: Matteo Croce <mcroce@...rosoft.com>
>
> With this series a monotonically increasing number is added to disks,
> precisely in the genhd struct, and it's exported in sysfs and uevent.
>
> This helps the userspace correlate events for devices that reuse the
> same device, like loop.
>
> The first patch is the core one, the 2..4 expose the information in
> different ways, while the last one increase the sequence number for
> loop devices at every attach.
Patch set looks excellent to me. This would be great to have for the
systems project, as it would allow us to fix some major races around
loop device allocation, that are relatively easily triggered on loaded
systems.
Lennart
Powered by blists - more mailing lists