Re: [PATCH] fs: jfs: fix a possible data race in metapage_writepage()
From: Markus Elfring
Date: Mon May 04 2020 - 12:33:54 EST
â
> To fix this data race, the spinlock mp->log->gclock is used in
> metapage_writepage().
>
> This data race is found by our concurrency fuzzer.
How do you think about a wording variant like the following?
Change description:
â
This data race was found by our concurrency fuzzer.
Thus use the spin lock âmp->log->gclockâ for the assignment of
the data structure member âlog->cflagâ to a local variable
in this function implementation.
Would you like to add the tag âFixesâ to the commit message?
Regards,
Markus