Re: [systemd-devel] [PATCH] readahead: ARM: fix rotational media detection for MMC

2014-05-14 Thread Zbigniew Jędrzejewski-Szmek
On Wed, May 14, 2014 at 06:20:42PM +0200, Lennart Poettering wrote: > On Wed, 14.05.14 11:33, Koen Kooi (k...@dominion.thruhere.net) wrote: > > > ~# cat /sys/class/block/mmcblk0/queue/rotational > > 0 > > This is what readahead checks for, and which apears to be correctly set > to 0. So everythi

Re: [systemd-devel] [PATCH] readahead: ARM: fix rotational media detection for MMC

2014-05-14 Thread Lennart Poettering
On Wed, 14.05.14 11:33, Koen Kooi (k...@dominion.thruhere.net) wrote: > ~# cat /sys/class/block/mmcblk0/queue/rotational > 0 This is what readahead checks for, and which apears to be correctly set to 0. So everything is in order and the readahead tool should properly detect this as ssd... Lenna

Re: [systemd-devel] [PATCH] readahead: ARM: fix rotational media detection for MMC

2014-05-14 Thread Koen Kooi
Op 13 mei 2014, om 23:47 heeft Zbigniew Jędrzejewski-Szmek het volgende geschreven: > On Tue, May 13, 2014 at 02:14:20PM +, Chaiken, Alison wrote: >> I wrote: >>> The ARM runtime reports the major device type associated with >>> /proc/self/mountinfo as MMC_BLOCK_MAJOR, causing on_ssd() in >

Re: [systemd-devel] [PATCH] readahead: ARM: fix rotational media detection for MMC

2014-05-13 Thread Zbigniew Jędrzejewski-Szmek
On Tue, May 13, 2014 at 02:14:20PM +, Chaiken, Alison wrote: > I wrote: > > The ARM runtime reports the major device type associated with > > /proc/self/mountinfo as MMC_BLOCK_MAJOR, causing on_ssd() in > > readahead-common.c to return false. on_ssd() should return true, as > > MMC like SSD i

Re: [systemd-devel] [PATCH] readahead: ARM: fix rotational media detection for MMC

2014-05-13 Thread Chaiken, Alison
I wrote: > The ARM runtime reports the major device type associated with > /proc/self/mountinfo as MMC_BLOCK_MAJOR, causing on_ssd() in > readahead-common.c to return false. on_ssd() should return true, as > MMC like SSD is not rotational. Lennart writes: > Not following here. fs_on_ssd() will a

Re: [systemd-devel] [PATCH] readahead: ARM: fix rotational media detection for MMC

2014-05-13 Thread Lennart Poettering
On Tue, 13.05.14 13:49, alison_chai...@mentor.com (alison_chai...@mentor.com) wrote: > From: Alison Chaiken > > The ARM runtime reports the major device type associated with > /proc/self/mountinfo as MMC_BLOCK_MAJOR, causing on_ssd() in > readahead-common.c to return false. on_ssd() should re

[systemd-devel] [PATCH] readahead: ARM: fix rotational media detection for MMC

2014-05-13 Thread alison_chaiken
From: Alison Chaiken The ARM runtime reports the major device type associated with /proc/self/mountinfo as MMC_BLOCK_MAJOR, causing on_ssd() in readahead-common.c to return false. on_ssd() should return true, as MMC like SSD is not rotational. Signed-off-by: Alison Chaiken --- src/readahead/