Commit 6b974ba
bdev/crypto: support resize of base bdev
Add handling of SPDK_BDEV_EVENT_RESIZE event for crypto bdev.
After obtaining it, resize crypto bdev to base bdev size and
pass RESIZE event furter down the bdev stack.
Fixes spdk#3549
Change-Id: Ie2827622e39f5ac820fa0372a36fd1a0377c9ebf
Signed-off-by: Vasilii Ivanov <[email protected]>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/25195
Reviewed-by: Jim Harris <[email protected]>
Community-CI: Broadcom CI <[email protected]>
Reviewed-by: Shuhei Matsumoto <[email protected]>
Tested-by: SPDK CI Jenkins <[email protected]>
Community-CI: Mellanox Build Bot
Community-CI: Community CI Samsung <[email protected]>
Reviewed-by: Aleksey Marchuk <[email protected]>
Reviewed-by: Konrad Sztyber <[email protected]>
Signed-off-by: Abhilash Shetty <[email protected]>1 parent 4e0d622 commit 6b974ba
File tree
2 files changed
+16
-0
lines changed- module/bdev/crypto
- test/unit/lib/bdev/crypto.c
2 files changed
+16
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
701 | 701 | | |
702 | 702 | | |
703 | 703 | | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
704 | 716 | | |
705 | 717 | | |
706 | 718 | | |
| |||
710 | 722 | | |
711 | 723 | | |
712 | 724 | | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
713 | 728 | | |
714 | 729 | | |
715 | 730 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
| |||
0 commit comments