dm: consolidate spinlocks in dm_io struct
authorMike Snitzer <snitzer@kernel.org>
Sat, 19 Mar 2022 22:41:16 +0000 (18:41 -0400)
committerMike Snitzer <snitzer@kernel.org>
Mon, 21 Mar 2022 18:15:36 +0000 (14:15 -0400)
commit4d7bca13dd9a5033174b0735056c5658cb893e76
treec975978e2dbb9d3599176a41a6f23595145669c5
parentbd4a6dd241ae0a0bf36274d61e1a1fbf80b99ecb
dm: consolidate spinlocks in dm_io struct

No reason to have separate startio_lock and endio_lock given endio_lock
could be used during submission anyway.

This change leaves the dm_io struct weighing in at 256 bytes (down
from 272 bytes, so saves a cacheline).

Signed-off-by: Mike Snitzer <snitzer@kernel.org>
drivers/md/dm-core.h
drivers/md/dm.c