Comment 3 for bug 747032

Jervin R (revin) wrote :

Actually, spoke too soon, if I move the datadir off the SSD drive, FlashCache still checks no matter what. The first one on 5.1.57

statfs("/wok/msb/msb_5_1_570/data/", {f_type="EXT2_SUPER_MAGIC", f_bsize=4096, f_blocks=200365810, f_bfree=194779786, f_bavail=184601777, f_files=50896896, f_ffree=50838080, f_fsid={1987478334, -418244788}, 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=337, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fdd6f8b5000
read(3, "/dev/md1 / ext4 rw 0 0\nproc /pro"..., 4096) = 337
statfs("/", {f_type="EXT2_SUPER_MAGIC", f_bsize=4096, f_blocks=38703867, f_bfree=36404561, f_bavail=34438520, f_files=9830400, f_ffree=9700237, 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=194779786, f_bavail=184601777, f_files=50896896, f_ffree=50838080, f_fsid={1987478334, -418244788}, f_namelen=255, f_frsize=4096}) = 0
close(3) = 0
munmap(0x7fdd6f8b5000, 4096) = 0
open("/dev/md3", O_RDONLY) = 3
ioctl(3, 0x4004fecd, 0x7fff3ad6f1d8) = -1 EINVAL (Invalid argument)
close(3) = 0
write(2, "120810 21:14:39 [Note] Flashcach"..., 51120810 21:14:39 [Note] Flashcache bypass: disabled
) = 51
write(2, "120810 21:14:39 [Note] Flashcach"..., 65120810 21:14:39 [Note] Flashcache setup error is : ioctl failed

This one on 5.1.63

statfs("/wok/msb/msb_5_1_630/data/", {f_type="EXT2_SUPER_MAGIC", f_bsize=4096, f_blocks=200365810, f_bfree=194702836, f_bavail=184524827, f_files=50896896, f_ffree=50832482, f_fsid={1987478334, -418244788}, 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=337, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5aad4c7000
read(3, "/dev/md1 / ext4 rw 0 0\nproc /pro"..., 4096) = 337
statfs("/", {f_type="EXT2_SUPER_MAGIC", f_bsize=4096, f_blocks=38703867, f_bfree=36404559, f_bavail=34438518, f_files=9830400, f_ffree=9700237, 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=194702836, f_bavail=184524827, f_files=50896896, f_ffree=50832482, f_fsid={1987478334, -418244788}, f_namelen=255, f_frsize=4096}) = 0
close(3) = 0
munmap(0x7f5aad4c7000, 4096) = 0
open("/dev/md3", O_RDONLY) = 3
ioctl(3, 0x4004fecd, 0x7fff97f83228) = -1 EINVAL (Invalid argument)
close(3) = 0
write(2, "120810 21:24:42 [Note] Flashcach"..., 51120810 21:24:42 [Note] Flashcache bypass: disabled
) = 51
write(2, "120810 21:24:42 [Note] Flashcach"..., 65120810 21:24:42 [Note] Flashcache setup error is : ioctl failed