[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20220228205429.GL12643@twin.jikos.cz>
Date: Mon, 28 Feb 2022 21:54:29 +0100
From: David Sterba <dsterba@...e.cz>
To: Niels Dossche <dossche.niels@...il.com>
Cc: linux-btrfs@...r.kernel.org, linux-kernel@...r.kernel.org,
clm@...com, josef@...icpanda.com, dsterba@...e.com,
Niels Dossche <niels.dossche@...nt.be>
Subject: Re: [PATCH] btrfs: extend locking to all space_info members accesses
On Fri, Feb 25, 2022 at 10:20:28PM +0100, Niels Dossche wrote:
> bytes_pinned is always accessed under space_info->lock, except in
> btrfs_preempt_reclaim_metadata_space, however the other members are
> accessed under that lock. The reserved member of the rsv's are also
> partially accessed under a lock and partially not. Move all these
> accesses into the same lock to ensure consistency.
>
> Signed-off-by: Niels Dossche <niels.dossche@...nt.be>
> Signed-off-by: Niels Dossche <dossche.niels@...il.com>
Added to misc-next, thanks.
Powered by blists - more mailing lists