Messages in this thread | | | Date | Tue, 25 Nov 2008 20:38:16 -0700 | From | Matthew Wilcox <> | Subject | Re: [PATCH 8/9] swapfile: swapon randomize if nonrot |
| |
On Tue, Nov 25, 2008 at 05:20:39PM -0800, Andrew Morton wrote: > On Tue, 25 Nov 2008 21:46:56 +0000 (GMT) > Hugh Dickins <hugh@veritas.com> wrote: > > > But how to get my SD card, accessed by USB card reader, reported as NONROT? > > Dunno. udev rules, perhaps?
I didn't see patch 8/9, but the 'non-rotating' bit is in word 217 of the inquiry data. Unfortunately, Jeff insisted that we only report the contents of that bit for devices claiming ATA-8 support, which is ridiculous as even the Intel SSDs only claim conformance to ATA-7.
I notice that Jens was allowed to ignore Jeff's insane requirement and doesn't have to check ATA revision at all.
-- Matthew Wilcox Intel Open Source Technology Centre "Bill, look, we understand that you're interested in selling us this operating system, but compare it to ours. We can't possibly take such a retrograde step."
| |