Package: flashcache / 3.1.3+git20150701-5

Metadata

Package Version Patches format
flashcache 3.1.3+git20150701-5 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
usable makefile.patch | (download)

flashcache-wt/src/Makefile | 3 0 + 3 - 0 !
src/Makefile | 6 3 + 3 - 0 !
2 files changed, 3 insertions(+), 6 deletions(-)

 clean the makefile from utils, not needed for the dkms module
honor cflags and ldflags.patch | (download)

src/utils/Makefile | 14 7 + 7 - 0 !
1 file changed, 7 insertions(+), 7 deletions(-)

 honor build flags in makefile
 The Makefile ignores CFLAGS/LDFLAGS the user may inject through dpkg-buildflags
 or any other method. To fix this, the patch below makes sure those flags are
 being injected into the build process when needed.
 .
 src/utils/Makefile: Add flags where needed
fix build error on linux 4.3.patch | (download)

src/flashcache_subr.c | 5 4 + 1 - 0 !
1 file changed, 4 insertions(+), 1 deletion(-)

 fix build error on linux 4.3
 In Linux 4.3, bio_endio don't support error parameter any more, so 
 bio_endio(bio, error) should be converted bio_endio(bio).
switch from ioctl to dm target messages.patch | (download)

src/flashcache_conf.c | 5 5 + 0 - 0 !
src/flashcache_ioctl.c | 78 78 + 0 - 0 !
src/flashcache_ioctl.h | 6 6 + 0 - 0 !
src/utils/flashcache_setioctl.c | 60 59 + 1 - 0 !
4 files changed, 148 insertions(+), 1 deletion(-)

 switch from ioctl to dm target messages
 Switch from ioctl to dm target messages for handling PID blacklist/whitelist
 manipulation.
compat 4.8.patch | (download)

src/flashcache_ioctl.c | 1 0 + 1 - 0 !
src/flashcache_kcopy.c | 4 4 + 0 - 0 !
src/flashcache_main.c | 15 14 + 1 - 0 !
src/flashcache_subr.c | 8 8 + 0 - 0 !
4 files changed, 26 insertions(+), 2 deletions(-)

 fix ftbs on target systems running 4.8+ kernels
 The bi_rw field was split into bi_op and bi_op_flags. Right now it looked
 like the created IOs would be only plain READ or WRITE ones. If this ever
 changes, then the whole call chain needs some update.
 While looking at the source fix one warning and one potential bug of not
 properly guarding an if section with { }.