summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-cache-target.c
diff options
context:
space:
mode:
authorDavidlohr Bueso <dave@stgolabs.net>2020-03-22 07:03:04 +0100
committerJens Axboe <axboe@kernel.dk>2020-03-22 17:06:57 +0100
commitb004aa867c48b3232835b61ed9d44b572e29498e (patch)
treec4e27aff03ea6deada3f73eb5e36d3715d541908 /drivers/md/dm-cache-target.c
parentbcache: Use scnprintf() for avoiding potential buffer overflow (diff)
downloadlinux-b004aa867c48b3232835b61ed9d44b572e29498e.tar.xz
linux-b004aa867c48b3232835b61ed9d44b572e29498e.zip
bcache: optimize barrier usage for Rmw atomic bitops
We can avoid the unnecessary barrier on non LL/SC architectures, such as x86. Instead, use the smp_mb__after_atomic(). Signed-off-by: Davidlohr Bueso <dbueso@suse.de> Signed-off-by: Coly Li <colyli@suse.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md/dm-cache-target.c')
0 files changed, 0 insertions, 0 deletions