]> sourceware.org Git - lvm2.git/commit
[bcache] Some work on bcache_invalidate()
authorJoe Thornber <ejt@redhat.com>
Fri, 27 Apr 2018 09:56:13 +0000 (10:56 +0100)
committerJoe Thornber <ejt@redhat.com>
Fri, 27 Apr 2018 09:56:13 +0000 (10:56 +0100)
commite890c37704be3482a5d66e59baa2811d99e3eb93
treedf8c320001b552d4c592e407ff320b7e4c207de5
parent8a14b8a733b95ccb92fc8b907dc330bac474b712
[bcache] Some work on bcache_invalidate()

bcache_invalidate() now returns a bool to indicate success.  If fails
if the block is currently held, or the block is dirty and writeback
fails.

Added a bunch of unit tests for the invalidate functions.

Fixed some bugs to do with invalidating errored blocks.
lib/device/bcache.c
lib/device/bcache.h
unit-test/bcache_t.c
This page took 0.035553 seconds and 5 git commands to generate.