From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 150E02E716C; Wed, 13 Aug 2025 21:52:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755121968; cv=none; b=gRQ4bn9H2GpjhoM5huI08zP+p9lzxuRebUFnFAGGF4EPwilqtlaaRtLJKcSJ+t7V5Ikr1VxQ8OtJv779mvTJ3vmssBxQrSmdPc1tTY3FOpBDmFza0Ff90PDGdJcecvQWGZ5LEDqLv7r7NJJ63nUd02/EQnZO8Aclbb+Ovc958kE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755121968; c=relaxed/simple; bh=QCmL0ynHnVBGWOAhms5dAzdQRKx9eDzPiYMQVaipuE8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=l9Idv22ShUZrZ+zCTwgFJGETsfLtsGeUjXeN17egHgXzrKszQy034/oABaUXvUr8HOn+Vo0V61+b90ifQ5NBymrenZbtTKGeMrm4OjeTfEaPI+upwJkR1tgMqpR1xpgJ/mM775TyIp9QYqnV7aXXK7UecvjQqtp2qsyJDHVST08= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=kp44tlU8; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="kp44tlU8" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1895FC4CEEB; Wed, 13 Aug 2025 21:52:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1755121966; bh=QCmL0ynHnVBGWOAhms5dAzdQRKx9eDzPiYMQVaipuE8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kp44tlU8/SSNASM0IeEdPM5EbOr7oeuLYPXA0rq49SQjgnMse63Xq5A+n21gET1Q4 4zb0yEwVv0oRxQK7gEXwpZ6oUFmQtcYI677iJiKjA/E9Y8hGXp66zocdtIhqd5+2rZ sn9cRJL6sQIIPgbe36Ik3feKUBB5PIEhVHlKocmc0lt7plta5RXCATPEZ2Ab3mjw1T YX9bxv7fSVT15PeLmBMo3GsaTZgP3nxXnPnSPFPBwVGYGx1mBMIhneXsnGMpS+C15T i8HlwtMPAoq/WRlVCYWaGK6K/ojCA5ywK2zni800Nop8tkv08oz9HwPJN10CZZLqDV 60ZpIzS/dCh6g== Date: Wed, 13 Aug 2025 15:52:44 -0600 From: Keith Busch To: "Martin K. Petersen" Cc: Keith Busch , linux-block@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, snitzer@kernel.org, axboe@kernel.dk, dw@davidwei.uk, brauner@kernel.org, Hannes Reinecke Subject: Re: [PATCHv2 1/7] block: check for valid bio while splitting Message-ID: References: <20250805141123.332298-1-kbusch@meta.com> <20250805141123.332298-2-kbusch@meta.com> Precedence: bulk X-Mailing-List: linux-block@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Wed, Aug 13, 2025 at 05:23:47PM -0400, Martin K. Petersen wrote: > dma_alignment defines the alignment of the DMA starting address. We > don't have a dedicated queue limit for the transfer length granularity > described by NVMe. Darn, but thanks for confirming. I'll see if I can get by without needing a new limit, or look into adding one if not. Worst case, I can also let the device return the error, though I think we prefer not to send an IO that we know should fail.