From mboxrd@z Thu Jan 1 00:00:00 1970 From: snitzer@redhat.com (Mike Snitzer) Date: Tue, 24 Jul 2018 11:07:25 -0400 Subject: data corruption with 'splt' workload to XFS on DM cache with its 3 underlying devices being on same NVMe device In-Reply-To: References: <20180723163357.GA29658@redhat.com> Message-ID: <20180724150725.GA3235@redhat.com> On Tue, Jul 24 2018 at 10:25am -0400, Bart Van Assche wrote: > On Tue, 2018-07-24@08:00 +0200, Hannes Reinecke wrote: > > So, have you tested that request-based multipathing works on a partition > > _at all_? I'm not sure if partition mapping is done correctly here; we > > never remap the start of the request (nor bio, come to speak of it), so > > it looks as if we would be doing the wrong things here. > > > > Have you checked that partition remapping is done correctly? > > I think generic_make_request() takes care of partition remapping by calling > blk_partition_remap(). generic_make_request() is called by submit_bio(). Is > that sufficient to cover all dm drivers? Seems not for request-based DM (see my previous reply in this thread). But bio-based DM-multipath seems to work just fine.