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: mlelstv%serpens.de@localhost (Michael van Elst)
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 20:33:40 -0000 (UTC)

 tnn%nygren.pp.se@localhost (Tobias Nygren) writes:
 
 > 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 ...
 
 Only a cash dump will write the wrong offset, swap uses regular I/O routines
 that are correct.
 


Home | Main Index | Thread Index | Old Index