Comment 2 for bug 747032

Jervin R (revin) wrote :

It looks like even with Yves' workaround, if you have an SSD device which FlashCache will recognize, it will still try to read it.

statfs("/ssd/msb/msb_5_1_570/data/", {f_type=0x58465342, f_bsize=4096, f_blocks=29290523, f_bfree=26584211, f_bavail=26584211, f_files=117219328, f_ffree=117202929, f_fsid={2113, 0}, f_namelen=255, f_frsize=4096}) = 0
open("/etc/mtab", O_RDONLY) = 3
futex(0x3ed858f020, FUTEX_WAKE_PRIVATE, 2147483647) = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=381, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fea6a153000
read(3, "/dev/md1 / ext4 rw 0 0\nproc /pro"..., 4096) = 381
statfs("/", {f_type="EXT2_SUPER_MAGIC", f_bsize=4096, f_blocks=38703867, f_bfree=36404540, f_bavail=34438499, f_files=9830400, f_ffree=9700231, f_fsid={1685259068, -661529586}, f_namelen=255, f_frsize=4096}) = 0
statfs("/proc", {f_type="PROC_SUPER_MAGIC", f_bsize=4096, f_blocks=0, f_bfree=0, f_bavail=0, f_files=0, f_ffree=0, f_fsid={0, 0}, f_namelen=255, f_frsize=4096}) = 0
statfs("/sys", {f_type="SYSFS_MAGIC", f_bsize=4096, f_blocks=0, f_bfree=0, f_bavail=0, f_files=0, f_ffree=0, f_fsid={0, 0}, f_namelen=255, f_frsize=4096}) = 0
statfs("/dev/pts", {f_type="DEVPTS_SUPER_MAGIC", f_bsize=4096, f_blocks=0, f_bfree=0, f_bavail=0, f_files=0, f_ffree=0, f_fsid={0, 0}, f_namelen=255, f_frsize=4096}) = 0
statfs("/dev/shm", {f_type=0x1021994, f_bsize=4096, f_blocks=2040811, f_bfree=2040670, f_bavail=2040670, f_files=2040811, f_ffree=2040800, f_fsid={0, 0}, f_namelen=255, f_frsize=4096}) = 0
statfs("/boot", {f_type="EXT2_SUPER_MAGIC", f_bsize=1024, f_blocks=507736, f_bfree=395517, f_bavail=369304, f_files=131072, f_ffree=131013, f_fsid={-507482768, 405790572}, f_namelen=255, f_frsize=1024}) = 0
statfs("/wok", {f_type="EXT2_SUPER_MAGIC", f_bsize=4096, f_blocks=200365810, f_bfree=194785174, f_bavail=184607165, f_files=50896896, f_ffree=50838176, f_fsid={1987478334, -418244788}, f_namelen=255, f_frsize=4096}) = 0
statfs("/proc/sys/fs/binfmt_misc", {f_type=0x42494e4d, f_bsize=4096, f_blocks=0, f_bfree=0, f_bavail=0, f_files=0, f_ffree=0, f_fsid={0, 0}, f_namelen=255, f_frsize=4096}) = 0
statfs("/var/lib/nfs/rpc_pipefs", {f_type=0x67596969, f_bsize=4096, f_blocks=0, f_bfree=0, f_bavail=0, f_files=0, f_ffree=0, f_fsid={0, 0}, f_namelen=255, f_frsize=4096}) = 0
statfs("/ssd", {f_type=0x58465342, f_bsize=4096, f_blocks=29290523, f_bfree=26584211, f_bavail=26584211, f_files=117219328, f_ffree=117202929, f_fsid={2113, 0}, f_namelen=255, f_frsize=4096}) = 0
close(3) = 0
munmap(0x7fea6a153000, 4096) = 0
open("/dev/sde1", O_RDONLY) = 3
ioctl(3, 0x4004fecd, 0x7fffa7d85a78) = -1 ENOTTY (Inappropriate ioctl for device)
close(3) = 0
write(2, "120810 20:34:55 [Note] Flashcach"..., 51120810 20:34:55 [Note] Flashcache bypass: disabled
) = 51
write(2, "120810 20:34:55 [Note] Flashcach"..., 65120810 20:34:55 [Note] Flashcache setup error is : ioctl failed