Thread (63 messages) 63 messages, 7 authors, 2026-06-12

Re: [PATCH 06/27] drbd: Simplify the bitmap locking functions.

From: Christoph Hellwig <hch@infradead.org>
Date: 2026-06-10 05:20:37

On Tue, Jun 09, 2026 at 03:04:53PM -0700, Bart Van Assche wrote:
Call mutex_lock() instead of mutex_trylock() followed by mutex_lock().
Remove the code that depends on device->bitmap == NULL because this
can't happen. All drbd_bm_{lock,unlock}() callers guarantee that the
device->bitmap pointer is valid.
Looks good:

Reviewed-by: Christoph Hellwig <hch@lst.de>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help