Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion drivers/block/drbd/drbd_bitmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -1213,6 +1213,7 @@ static int bm_rw(struct drbd_device *device, const unsigned int flags, unsigned
/**
* drbd_bm_read() - Read the whole bitmap from its on disk location.
* @device: DRBD device.
* @peer_device: Peer device for which the bitmap read is performed.
*/
int drbd_bm_read(struct drbd_device *device,
struct drbd_peer_device *peer_device) __must_hold(local)
Expand All @@ -1224,6 +1225,7 @@ int drbd_bm_read(struct drbd_device *device,
/**
* drbd_bm_write() - Write the whole bitmap to its on disk location.
* @device: DRBD device.
* @peer_device: Peer device for which the bitmap write is performed.
*
* Will only write pages that have changed since last IO.
*/
Expand All @@ -1236,7 +1238,7 @@ int drbd_bm_write(struct drbd_device *device,
/**
* drbd_bm_write_all() - Write the whole bitmap to its on disk location.
* @device: DRBD device.
*
* @peer_device: Peer device for which the bitmap write is performed.
* Will write all pages.
*/
int drbd_bm_write_all(struct drbd_device *device,
Expand All @@ -1258,6 +1260,7 @@ int drbd_bm_write_lazy(struct drbd_device *device, unsigned upper_idx) __must_ho
/**
* drbd_bm_write_copy_pages() - Write the whole bitmap to its on disk location.
* @device: DRBD device.
* @peer_device: Peer device for which the bitmap write is performed.
*
* Will only write pages that have changed since last IO.
* In contrast to drbd_bm_write(), this will copy the bitmap pages
Expand All @@ -1275,6 +1278,7 @@ int drbd_bm_write_copy_pages(struct drbd_device *device,
/**
* drbd_bm_write_hinted() - Write bitmap pages with "hint" marks, if they have changed.
* @device: DRBD device.
* @peer_device: Peer device for which the bitmap write is performed.
*/
int drbd_bm_write_hinted(struct drbd_device *device) __must_hold(local)
{
Expand Down