From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) (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 B424A3358B7 for ; Fri, 21 Nov 2025 07:24:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.95.11.211 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763709869; cv=none; b=TkuVttyZJR753HvVN3zJ+TYEKKSiX4QlAUbBa4ZEF5KUo6bAw9ly+ZUaoljwrj3qKQTPqkL4KVxg2VckQKZfqDoXRR2ytF8mlrNW1RsqSTs5BdNt8HU3jOk4DJw2gpPkqDdUCOX7aVpaVJw5MYrCilQeI1vIt6VKZE0GQmOFPBY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763709869; c=relaxed/simple; bh=iFtbOGudU8T6pWl8mZdnTxhnChXXJ1OcRQxzpvShedw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=m611hqJch505ROnf9Uf4NA6K5iRajm+0YZkAp0svhQhdXLt9h94eluNFKuw4ZFhpRZYbFq03fnaad6oE7wCwh2kGdHhpUNSzTiOZEcbVz+AgoiLT1GMEOqLh0OVRLUTHRzu6pPd/150SOwcZhG/LrPXcNdpv/Tcnha/GUrjr4WY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lst.de; spf=pass smtp.mailfrom=lst.de; arc=none smtp.client-ip=213.95.11.211 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lst.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lst.de Received: by verein.lst.de (Postfix, from userid 2407) id 51B9B67373; Fri, 21 Nov 2025 08:24:22 +0100 (CET) Date: Fri, 21 Nov 2025 08:24:21 +0100 From: Christoph Hellwig To: Uladzislau Rezki Cc: Christoph Hellwig , Mikulas Patocka , Benjamin Marzinski , Alasdair Kergon , DMML , Andrew Morton , Mike Snitzer , LKML Subject: Re: [RESEND PATCH] dm-ebs: Mark full buffer dirty even on partial write Message-ID: <20251121072421.GA29754@lst.de> References: <20251117105945.10179-1-urezki@gmail.com> <73556fc8-5fbf-37cb-26b9-7cdb88f69720@redhat.com> <230baa83-cd79-f232-5fb8-1476115e1ae7@redhat.com> <20251119054635.GB19993@lst.de> <20251120062146.GA29990@lst.de> Precedence: bulk X-Mailing-List: linux-kernel@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: User-Agent: Mutt/1.5.17 (2007-11-01) On Thu, Nov 20, 2025 at 01:08:57PM +0100, Uladzislau Rezki wrote: > Could you please check below? Is the last one is correctly reported? The latter looks unexpected, but is is becase qemu is not passing through the qemu physical_block_size attribute to any of the nvme settings Linux interprets as such for NVMe (NVMe doesn't actually have the concept of a physical block size, unlike SCSI/ATA): root@testvm:~# nvme id-ns -H /dev/nvme0n1 | grep npw npwg : 0 npwa : 0 root@testvm:~# nvme id-ns -H /dev/nvme0n1 | grep naw nawun : 0 nawupf : 0 root@testvm:~# nvme id-ctrl -H /dev/nvme0 | grep awupf awupf : 0 but as said multiple times, that should not really matter - the logical block size is the granularity of I/O, the physical block size is just a performance hint.