aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2017-10-19 17:16:54 -0400
committerMike Snitzer <snitzer@redhat.com>2017-11-10 15:44:47 -0500
commit2df3bae9a6543e90042291707b8db0cbfbae9ee9 (patch)
treec6f6fc8506e3d0cc38f882de23497f3961f70e4e /tools/perf/scripts/python/export-to-postgresql.py
parentdm cache: pass cache structure to mode functions (diff)
downloadlinux-dev-2df3bae9a6543e90042291707b8db0cbfbae9ee9.tar.xz
linux-dev-2df3bae9a6543e90042291707b8db0cbfbae9ee9.zip
dm cache: submit writethrough writes in parallel to origin and cache
Discontinue issuing writethrough write IO in series to the origin and then cache. Use bio_clone_fast() to create a new origin clone bio that will be mapped to the origin device and then bio_chain() it to the bio that gets remapped to the cache device. The origin clone bio does _not_ have a copy of the per_bio_data -- as such check_if_tick_bio_needed() will not be called. The cache bio (parent bio) will not complete until the origin bio has completed -- this fulfills bio_clone_fast()'s requirements as well as the requirement to not complete the original IO until the write IO has completed to both the origin and cache device. Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions