diff options
author | Lars Ellenberg <lars.ellenberg@linbit.com> | 2011-01-21 10:56:44 +0100 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2011-03-10 11:48:02 +0100 |
commit | 20ceb2b22edaf51e59e76087efdc71a16a2858de (patch) | |
tree | a4f267242725bac2a915e879a6b6ac259218c5fa /crypto/tcrypt.h | |
parent | 62b0da3a244ac33d25a77861ef1cc0080103f2ff (diff) | |
download | op-kernel-dev-20ceb2b22edaf51e59e76087efdc71a16a2858de.zip op-kernel-dev-20ceb2b22edaf51e59e76087efdc71a16a2858de.tar.gz |
drbd: describe bitmap locking for bulk operation in finer detail
Now that we do no longer in-place endian-swap the bitmap, we allow
selected bitmap operations (testing bits, sometimes even settting bits)
during some bulk operations.
This caused us to hit a lot of FIXME asserts similar to
FIXME asender in drbd_bm_count_bits,
bitmap locked for 'write from resync_finished' by worker
Which now is nonsense: looking at the bitmap is perfectly legal
as long as it is not being resized.
This cosmetic patch defines some flags to describe expectations in finer
detail, so the asserts in e.g. bm_change_bits_to() can be skipped if
appropriate.
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'crypto/tcrypt.h')
0 files changed, 0 insertions, 0 deletions