diff options
| author | Joe Thornber <ejt@redhat.com> | 2013-10-31 13:55:48 -0400 |
|---|---|---|
| committer | Mike Snitzer <snitzer@redhat.com> | 2013-11-09 18:20:26 -0500 |
| commit | c9d28d5d09a0fd5f02f1321c8e18ff7d9f92270b (patch) | |
| tree | 480183ffb8ce716748a319df07820f23477e3be7 /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | dm cache: be much more aggressive about promoting writes to discarded blocks (diff) | |
| download | linux-c9d28d5d09a0fd5f02f1321c8e18ff7d9f92270b.tar.gz linux-c9d28d5d09a0fd5f02f1321c8e18ff7d9f92270b.zip | |
dm cache: promotion optimisation for writes
If a write block triggers promotion and covers a whole block we can
avoid a copy.
Introduce dm_{hook,unhook}_bio to simplify saving and restoring bio
fields (bi_private is now used by overwrite). Switch writethrough
support over to using these helpers too.
Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
