Thread (17 messages) 17 messages, 7 authors, 2022-05-23

Re: [RFC 2/6] PM: Hibernate: Add option to disable disk offset randomization

From: Christoph Hellwig <hch@infradead.org>
Date: 2022-05-18 13:00:45
Also in: linux-block, linux-doc, linux-mm, linux-pm, lkml

On Wed, May 18, 2022 at 01:18:37PM +0530, Vivek Kumar wrote:
Add a kernel parameter to disable the disk offset randomization
for SSD devices in which such feature is available at the
firmware level. This is helpful in improving hibernation
resume time.
This patch just adds a global variable which is then entirely
igored.

But the idea of "randomizing" offsets on SSDs sounds like complete BS to
start with.  The whole job of the SSD is to remap from a random writable
block device to difference physical blocks to deal with erases and wear
leveling.  In other words it really doesn't matter what offset your
write to.  That being said I could not actually find any code that does
this randomization to start with, but that might just be my lack of grep
skills.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help