lkml.org 
[lkml]   [2023]   [Apr]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] blk-integrity: add rq_integrity_payload_size helper
> +	if (WARN_ON_ONCE(queue_max_integrity_segments(rq->q) > 1))
> + return 0;

This should work for multiple segments as well.

\
 
 \ /
  Last update: 2023-04-12 08:54    [W:0.035 / U:0.520 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site