[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250410173028.2ucbsnlut2bpupm3@offworld>
Date: Thu, 10 Apr 2025 10:30:28 -0700
From: Davidlohr Bueso <dave@...olabs.net>
To: Jan Kara <jack@...e.cz>
Cc: Luis Chamberlain <mcgrof@...nel.org>, brauner@...nel.org, tytso@....edu,
adilger.kernel@...ger.ca, linux-ext4@...r.kernel.org,
riel@...riel.com, willy@...radead.org, hannes@...xchg.org,
oliver.sang@...el.com, david@...hat.com, axboe@...nel.dk,
hare@...e.de, david@...morbit.com, djwong@...nel.org,
ritesh.list@...il.com, linux-fsdevel@...r.kernel.org,
linux-block@...r.kernel.org, linux-mm@...ck.org,
gost.dev@...sung.com, p.raghav@...sung.com, da.gomez@...sung.com
Subject: Re: [PATCH v2 7/8] mm/migrate: enable noref migration for jbd2
On Thu, 10 Apr 2025, Jan Kara wrote:
>> @@ -851,6 +851,8 @@ static int __buffer_migrate_folio(struct address_space *mapping,
>> bool busy;
>> bool invalidated = false;
>>
>> + VM_WARN_ON_ONCE(test_and_set_bit_lock(BH_Migrate,
>> + &head->b_state));
>
>Careful here. This breaks the logic with !CONFIG_DEBUG_VM.
Ok, I guess just a WARN_ON_ONCE() here then.
Powered by blists - more mailing lists