group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #15976
[Bug 1714185] Re: flashcache is not usable on kernel version 4.8 and later
This bug was fixed in the package flashcache -
3.1.3+git20150701-5ubuntu1
---------------
flashcache (3.1.3+git20150701-5ubuntu1) artful; urgency=medium
* Initialize bi_op_flags in dm_io_request structures (LP: #1714185).
* Fix DKMS compile for 4.13+ kernels (LP: #1706426).
-- Stefan Bader <stefan.bader@xxxxxxxxxxxxx> Wed, 30 Aug 2017 16:49:59
+0200
** Changed in: flashcache (Ubuntu)
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1714185
Title:
flashcache is not usable on kernel version 4.8 and later
Status in flashcache package in Ubuntu:
Fix Released
Status in flashcache source package in Xenial:
In Progress
Status in flashcache source package in Zesty:
In Progress
Bug description:
SRU justification:
Impact:
The flashcache DKMS module is building but due to an incomplete adaptation for the bi_op/bi_opf split the resulting device-mapper logical volume is not properly writing back data to the backing device.
!!! It is possible to write to the volume but the data is LOST !!!
Fix:
When setting up internal device-mapper IO structures we *must* also initialize bi_op_flags. At least when the structure is on the stack and is set up with individual assignments. Maybe it would not be required for the { ... } form but better be explicit in all cases.
Testcase:
- prereq: two block devices (disks or partitions), for testing this can also
be loop devices. also need flashcache-utils and flashcache-dkms
- run "sudo flashcache-create -p back <name> <cache-dev> <backing-dev>"
- run "sudo mkfs.ext4 /dev/mapper/<name>"
- run "sudo fsck -f /dev/mapper/<name>"
- run "sudo dmsetup remove <name>" (this can take a bit)
- run "sudo fsck -f <backing-dev>"
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/flashcache/+bug/1714185/+subscriptions