Skip to content

Commit b8a4518

Browse files
hormsaxboe
authored andcommitted
drbd: Add peer_device to Kernel doc
Add missing documentation of peer_device parameter to Kernel doc. These parameters were added in commit 8164dd6 ("drbd: Add peer device parameter to whole-bitmap I/O handlers") Flagged by W=1 builds. Signed-off-by: Simon Horman <horms@kernel.org> Link: https://lore.kernel.org/r/20240723-drbd-doc-v1-1-a04d9b7a9688@kernel.org Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent 66ebbdf commit b8a4518

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

drivers/block/drbd/drbd_main.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3422,6 +3422,7 @@ void drbd_uuid_set_bm(struct drbd_device *device, u64 val) __must_hold(local)
34223422
/**
34233423
* drbd_bmio_set_n_write() - io_fn for drbd_queue_bitmap_io() or drbd_bitmap_io()
34243424
* @device: DRBD device.
3425+
* @peer_device: Peer DRBD device.
34253426
*
34263427
* Sets all bits in the bitmap and writes the whole bitmap to stable storage.
34273428
*/
@@ -3448,6 +3449,7 @@ int drbd_bmio_set_n_write(struct drbd_device *device,
34483449
/**
34493450
* drbd_bmio_clear_n_write() - io_fn for drbd_queue_bitmap_io() or drbd_bitmap_io()
34503451
* @device: DRBD device.
3452+
* @peer_device: Peer DRBD device.
34513453
*
34523454
* Clears all bits in the bitmap and writes the whole bitmap to stable storage.
34533455
*/
@@ -3501,6 +3503,7 @@ static int w_bitmap_io(struct drbd_work *w, int unused)
35013503
* @done: callback to be called after the bitmap IO was performed
35023504
* @why: Descriptive text of the reason for doing the IO
35033505
* @flags: Bitmap flags
3506+
* @peer_device: Peer DRBD device.
35043507
*
35053508
* While IO on the bitmap happens we freeze application IO thus we ensure
35063509
* that drbd_set_out_of_sync() can not be called. This function MAY ONLY be
@@ -3549,6 +3552,7 @@ void drbd_queue_bitmap_io(struct drbd_device *device,
35493552
* @io_fn: IO callback to be called when bitmap IO is possible
35503553
* @why: Descriptive text of the reason for doing the IO
35513554
* @flags: Bitmap flags
3555+
* @peer_device: Peer DRBD device.
35523556
*
35533557
* freezes application IO while that the actual IO operations runs. This
35543558
* functions MAY NOT be called from worker context.

0 commit comments

Comments
 (0)