Re: [RFC v2 05/11] block: add infra to handle dmabuf tokens
From: Pavel Begunkov
Date: Fri Feb 06 2026 - 13:02:23 EST
On 2/6/26 15:08, Anuj gupta wrote:
+
+ dma_fence_init(&fence->base, &blk_mq_dma_fence_ops, &fence->lock,
+ token->fence_ctx, atomic_inc_return(&token->fence_seq));
+ spin_lock_init(&fence->lock);
nit lock should be initialized before handing its address to
dma_fence_init()
Good catch, thanks, I'll apply that and other suggestions. And I still
need to address bits Christoph pointed out during review.
--
Pavel Begunkov