[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20200709132158.698042a8@canb.auug.org.au>
Date: Thu, 9 Jul 2020 13:21:58 +1000
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Alasdair G Kergon <agk@...hat.com>,
Mike Snitzer <snitzer@...hat.com>, Jens Axboe <axboe@...nel.dk>
Cc: Linux Next Mailing List <linux-next@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Christoph Hellwig <hch@....de>,
Ignat Korchagin <ignat@...udflare.com>
Subject: linux-next: manual merge of the device-mapper tree with the block
tree
Hi all,
Today's linux-next merge of the device-mapper tree got a conflict in:
drivers/md/dm-crypt.c
between commit:
ed00aabd5eb9 ("block: rename generic_make_request to submit_bio_noacct")
from the block tree and commit:
202b8d712016 ("dm crypt: add flags to optionally bypass kcryptd workqueues")
from the device-mapper tree.
I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging. You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.
--
Cheers,
Stephen Rothwell
diff --cc drivers/md/dm-crypt.c
index b437a14c4942,bad05c5ed3b5..000000000000
--- a/drivers/md/dm-crypt.c
+++ b/drivers/md/dm-crypt.c
@@@ -1892,8 -1896,9 +1896,9 @@@ static void kcryptd_crypt_write_io_subm
clone->bi_iter.bi_sector = cc->start + io->sector;
- if (likely(!async) && test_bit(DM_CRYPT_NO_OFFLOAD, &cc->flags)) {
+ if ((likely(!async) && test_bit(DM_CRYPT_NO_OFFLOAD, &cc->flags)) ||
+ test_bit(DM_CRYPT_NO_WRITE_WORKQUEUE, &cc->flags)) {
- generic_make_request(clone);
+ submit_bio_noacct(clone);
return;
}
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists