Re: [PATCH v2 00/12] Enable lock context analysis in drivers/block/
Nilay Shroff <[email protected]> Mon, 3 Aug 2026 19:52:23 +0530
| Newsgroups | org.kernel.vger.linux-block |
|---|---|
| Message-ID | <[email protected]> |
Hi Bart, On 7/31/26 1:28 AM, Bart Van Assche wrote: > Hi Jens, > > This patch series enables lock context analysis in all block drivers in the > drivers/block/ directory except DRBD. Please consider these patches for the > next merge window. > One general comment I have about this series is that there are several functions across these drivers that use the lockdep_assert_*() APIs. I think these functions should also be annotated with the corresponding Clang lock context annotations, such as __must_hold(...) or __must_not_hold(...), depending on the lockdep assertion being used. This would help keep the runtime lockdep assertions and the Clang lock context annotations consistent. Thanks, --Nilay