[PATCH] dm: set DM_TARGET_PASSES_CRYPTO feature for dm-thin

2025-07-29 Thread LongPing Wei
dm-thin obviously can pass through inline crypto support. Signed-off-by: LongPing Wei --- drivers/md/dm-thin.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/md/dm-thin.c b/drivers/md/dm-thin.c index 05cf4e3f2bbe..42f218dcf99f 100644 --- a/drivers/md/dm-thin.c +++

Re: [PATCH v4 00/11] dm-pcache – persistent-memory cache for block devices

2025-07-29 Thread Dongsheng Yang
在 7/29/2025 5:23 AM, Mikulas Patocka 写道: Hi On Fri, 25 Jul 2025, Dongsheng Yang wrote: * get_n_vecs: what if "data" is not page-aligned? is that possible? Yes, it's possible, so I am using DIV_ROUND_UP() to calculate the n_vecs. DIV_ROUND_UP is not sufficient - suppose that "data" is 0xf00