]> git.karo-electronics.de Git - linux-beck.git/commit
drbd: separate out __al_write_transaction helper function
authorLars Ellenberg <lars.ellenberg@linbit.com>
Wed, 3 Jun 2015 11:13:34 +0000 (13:13 +0200)
committerJens Axboe <axboe@fb.com>
Wed, 25 Nov 2015 16:22:03 +0000 (09:22 -0700)
commit603ee2c8c78b2fb5a9dc14fb8b2bb2650ebcab1f
tree36b013ac6c6b71c6c10f28cddbe010665aef27b6
parent7dbb4386b90a13a7b0cab12aae184e5e04c536c3
drbd: separate out __al_write_transaction helper function

To be able to "force out" an activity log transaction,
even if there are no pending updates.

This will be used to relocate the on-disk activity log,
if the on-disk offsets have to be changed,
without the need to empty the activity log first.

While at it, move the definition,
so we can drop the forward declaration of a static helper.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/drbd/drbd_actlog.c