diff options
author | 2015-11-19 13:03:36 +0000 | |
---|---|---|
committer | 2017-02-16 13:02:54 -0500 | |
commit | 3ba3ba1e8411532dc4a05b4e8932c9e358d70a44 (patch) | |
tree | 163e9a4f68dd4ffddf87ba4b3f92dd67a39a56ef /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | dm block manager: add unlikely() annotations on dm_bufio error paths (diff) | |
download | wireguard-linux-3ba3ba1e8411532dc4a05b4e8932c9e358d70a44.tar.xz wireguard-linux-3ba3ba1e8411532dc4a05b4e8932c9e358d70a44.zip |
dm space map common: memcpy the disk root to ensure it's arch aligned
The metadata_space_map_root passed to sm_ll_open_metadata() may or may
not be arch aligned, use memcpy to ensure it is. This is not a fast
path so the extra memcpy doesn't hurt us.
Long-term it'd be better to use the kernel's alignment infrastructure to
remove the memcpy()s that are littered across persistent-data (btree,
array, space-maps, etc).
Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions