NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/56332: swap on 4k sector device uses only 1/8 of the configured capacity



The following reply was made to PR kern/56332; it has been noted by GNATS.

From: Tobias Nygren <tnn%nygren.pp.se@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/56332: swap on 4k sector device uses only 1/8 of the
 configured capacity
Date: Wed, 28 Jul 2021 13:27:10 +0200

 On Wed, 28 Jul 2021 05:35:01 +0000 (UTC)
 Michael van Elst <mlelstv%serpens.de@localhost> wrote:
 
 >  So it's not only reporting the wrong size, but also writes to the
 >  wrong position on the disk if the physical sector size is not DEV_BSIZE.
 
 Uff, that sounds bad. I will deconfigure swap ...
   
 >  The regular I/O code does the right translation. So maybe (untested):
 
 ... and set up another machine to test this fix.
 


Home | Main Index | Thread Index | Old Index