]> git.karo-electronics.de Git - karo-tx-linux.git/commit
dm integrity: use plugging when writing the journal
authorMikulas Patocka <mpatocka@redhat.com>
Wed, 19 Jul 2017 15:24:08 +0000 (11:24 -0400)
committerMike Snitzer <snitzer@redhat.com>
Wed, 19 Jul 2017 23:02:39 +0000 (19:02 -0400)
commita7c3e62bdc71d33f75803115d44e3ee7dab3d811
treee8faf6a031420b7e536785c74661baccc6bddc9c
parent9dd59727dbc21d33a9add4c5b308a5775cd5a6ef
dm integrity: use plugging when writing the journal

When copying data from the journal to the appropriate place, we submit
many IOs.  Some of these IOs could go to adjacent areas.  Use on-stack
plugging so that adjacent IOs get merged during submission.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-integrity.c