Re: [PATCH] scsi: fix disk capacity too small by one sector

2024-10-22 Thread Julius Lehmann
> Am 22.10.2024 um 05:35 schrieb Tom Rini : > > On Mon, Oct 14, 2024 at 06:06:35PM +0200, Julius Lehmann wrote: > >> SCSI READ CAPACITY reports the address of the last >> block and the block size. The total number of blocks >> is thus last block address plus one. >> >> --- >> This patch fixe

Re: [PATCH] scsi: fix disk capacity too small by one sector

2024-10-21 Thread Tom Rini
On Mon, Oct 14, 2024 at 06:06:35PM +0200, Julius Lehmann wrote: > SCSI READ CAPACITY reports the address of the last > block and the block size. The total number of blocks > is thus last block address plus one. > > --- > This patch fixes the disk size reported by scsi. Up until now, the reported

[PATCH] scsi: fix disk capacity too small by one sector

2024-10-14 Thread Julius Lehmann
SCSI READ CAPACITY reports the address of the last block and the block size. The total number of blocks is thus last block address plus one. --- This patch fixes the disk size reported by scsi. Up until now, the reported disk size is too small by one sector. Read/Write operations on other sectors

Re: [PATCH] scsi: fix disk capacity too small by one sector

2024-10-14 Thread Neil Armstrong
On 14/10/2024 18:06, Julius Lehmann wrote: SCSI READ CAPACITY reports the address of the last block and the block size. The total number of blocks is thus last block address plus one. --- This patch fixes the disk size reported by scsi. Up until now, the reported disk size is too small by one s