diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2020-01-13 23:41:53 +0300 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2020-01-15 04:23:13 +0300 |
commit | f06c03d1ded22cf1c059650c4ba02496e93a0c06 (patch) | |
tree | 0c5ec8d966a08d8c97ccb4cadf340579d615bab9 /drivers/hsi | |
parent | 873937e75f9a8ea231a502c3d29d9cb6ad91b3ef (diff) | |
download | linux-f06c03d1ded22cf1c059650c4ba02496e93a0c06.tar.xz |
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 'drivers/hsi')
0 files changed, 0 insertions, 0 deletions