diff options
author | 2020-01-13 15:41:53 -0500 | |
---|---|---|
committer | 2020-01-14 20:23:13 -0500 | |
commit | f06c03d1ded22cf1c059650c4ba02496e93a0c06 (patch) | |
tree | 0c5ec8d966a08d8c97ccb4cadf340579d615bab9 /lib/test_overflow.c | |
parent | dm thin: don't allow changing data device during thin-pool reload (diff) | |
download | wireguard-linux-f06c03d1ded22cf1c059650c4ba02496e93a0c06.tar.xz wireguard-linux-f06c03d1ded22cf1c059650c4ba02496e93a0c06.zip |
dm thin: change data device's flush_bio to be member of struct pool
With commit fe64369163c5 ("dm thin: don't allow changing data device
during thin-pool load") it is now possible to re-parent the data
device's flush_bio from the pool_c to pool structure. Doing so offers
improved lifetime guarantees for the flush_bio so that the call to
dm_pool_register_pre_commit_callback can now be done safely from
pool_ctr().
Depends-on: fe64369163c5 ("dm thin: don't allow changing data device during thin-pool load")
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions