Re: [PATCH] md/raid5-ppl: convert pending_flushes from atomic_t to refcount_t
Dan Carpenter <[email protected]> Mon, 22 Jun 2026 14:38:44 +0300
| Newsgroups | dev.linux.lists.linux-kernel-mentees,org.kernel.vger.linux-kernel,org.kernel.vger.linux-raid |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Jun 22, 2026 at 04:58:55PM +0530, Sajal Gupta wrote: > > Heh. Yeah... There is not a chance I would merge a patch like this > > without testing. > > > It also really feels like an AI patch and you're supposed to say when you > > use AI to generate patches. > > I wrote the code myself. I did use Grammarly to help with my grammar and > phrasing. > > I'll send a v2 with just the break fix. Thanks. You're right that calling atomic_dec() in a loop seems pretty suspect as a design... But cleaning it up is risky as well. regards, dan carpenter