summaryrefslogtreecommitdiffstats
path: root/drivers/md/persistent-data
diff options
context:
space:
mode:
authorJeffle Xu <jefflexu@linux.alibaba.com>2021-01-12 06:52:00 +0100
committerMike Snitzer <snitzer@redhat.com>2021-02-03 16:10:05 +0100
commit62f263178c16df300f92098c1a6edca0be7d204d (patch)
treef03a3520bd687cf054020832f55b31c03d5d946c /drivers/md/persistent-data
parentdm integrity: fix spelling mistake "flusing" -> "flushing" (diff)
downloadlinux-62f263178c16df300f92098c1a6edca0be7d204d.tar.xz
linux-62f263178c16df300f92098c1a6edca0be7d204d.zip
dm: cleanup of front padding calculation
Add two helper macros calculating the offset of bio in struct dm_io and struct dm_target_io respectively. Besides, simplify the front padding calculation in dm_alloc_md_mempools(). Signed-off-by: Jeffle Xu <jefflexu@linux.alibaba.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/persistent-data')
0 files changed, 0 insertions, 0 deletions