Re: [PATCH] dm-raid: do not include dm-core.h

2025-07-21 Thread Mikulas Patocka
On Mon, 21 Jul 2025, Pavel Tikhomirov wrote: > In commit 4cc96131afce ("dm: move request-based code out to dm-rq.[hc]") > we have a note: "DM targets should _never_ include dm-core.h!". And it > is not used in any DM targets except dm-raid now, so let's remove it > from dm-raid for consistency,

Re: [PATCH] dm-raid: do not include dm-core.h

2025-07-20 Thread Yu Kuai
在 2025/07/21 11:49, Pavel Tikhomirov 写道: In commit 4cc96131afce ("dm: move request-based code out to dm-rq.[hc]") we have a note: "DM targets should _never_ include dm-core.h!". And it is not used in any DM targets except dm-raid now, so let's remove it from dm-raid for consistency, also use spec