~$ uname -a
Linux lam-maas01 4.10.0-35-generic #39~16.04.1-Ubuntu SMP Wed Sep 13 09:02:42 
UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

~$ dkms status
flashcache, 3.1.3+git20150701, 4.10.0-35-generic, x86_64: installed
flashcache, 3.1.3+git20150701, 4.13.0-11-generic, x86_64: installed
flashcache, 3.1.3+git20150701, 4.4.0-96-generic, x86_64: installed

~$ ./test_flashcache.sh 
II: Checking for 6G available disk space...OK
II: Creating loop files:
II: - backing-7080.img...OK
II: - cache-7080.img...OK
II: Connecting to loop devices:
II: - backing-7080.img -> /dev/loop0...OK
II: - cache-7080.img -> /dev/loop1...OK
II: Loading flashcache module...OK
II: Creating flashcache logical device...
cachedev fctgt, ssd_devname /dev/loop1, disk_devname /dev/loop0 cache mode 
WRITE_BACK
block_size 8, md_block_size 8, cache_size 2097152
Flashcache metadata will use 5MB of your 1997MB main memory
OK
II: Creating mount-point...OK
II: Create filesystem on flashcache target...OK
II: Mounting flachcache target to fcmnt-7080...OK
II: Testing...
stress-ng: info:  [7152] dispatching hogs: 2 hdd
stress-ng: info:  [7152] cache allocate: default cache size: 4096K
stress-ng: info:  [7152] successful run completed in 317.52s (5 mins, 17.52 
secs)
II: Unmounting fcmnt-7080...
II: Deleting flashcache target...
II: Testing integrity of backing device...
fsck from util-linux 2.27.1
e2fsck 1.42.13 (17-May-2015)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/loop0: 11/327680 files (0.0% non-contiguous), 55902/1310720 blocks
II: Removing mount directory...
II: Detaching /dev/loop1...
II: Detaching /dev/loop0...
II: Deleting file images...
PASS

** Tags removed: verification-needed verification-needed-xenial
** Tags added: verification-done verification-done-xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1714185

Title:
  flashcache is not usable on kernel version 4.8 and later

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/flashcache/+bug/1714185/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to