Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp3046534rwi; Tue, 1 Nov 2022 15:18:02 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4TWtap/UZu046k9+F8fg9+qPXsF4J/h0qYbVykQnHCFEXMPbEDBD89XV4NUHm0BF1Va6+j X-Received: by 2002:a17:902:f708:b0:178:9b70:310b with SMTP id h8-20020a170902f70800b001789b70310bmr21330824plo.65.1667341082081; Tue, 01 Nov 2022 15:18:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667341082; cv=none; d=google.com; s=arc-20160816; b=amVS/QNIROEREHyVFYOmG4TkYZY1V+0GA6eua7R9UZH7wTKYTmpjepi1MQltmR/hhE xSk9+tIDjHSrbzDVIheIXXTpX/6qG4ZhcdTNla5DsguqD5ulfDq/2TqG1nr1062NHhZg XssKlgDnYtCoNdU+u/O9UCsyXGIUhPVnXwuTi+UAKPO32tsUliX3Xy76ourF1ayfpRmW u/RpREAlk8mOxNVuGVJNK+gplsUR+XeUW76jOc2J+3wa97Z88iRvvR56jJ51mTaKeAvT Du4I4aMHgbbDnAGxFHFqp/+/jr3URA++mA3PL5LlEeBEElX3ycUX63YdmCbFgtDkh1iG 0jEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=JsVluRGEduZjuSL7d5lIwtKYLmOrWX8w9pS3D6z92D4=; b=Qevk65Xu7a0fyQFA+XHOIhRUWs3tr1CQsbwPOp8DE9MMuSBdR3l5iua3MlB6Bqo//l jF6iNgpHDBOslUjvm8h+XOzWG3j2h21yhqwxX04SFQL64ZGafiKYSF7qAM6QhRY2qaL6 bbvdTcCNqBrpdlWvgeDPQYuFMIRPlbVQzKKzQ4xHMdUalBKwMFIY8ezH2VKWOcOif0ge b45iMZorhgmnbvdiNvuFGIWWDSSRonxxD5NFsIbPfBm7n2ijD6b0facaNEfmrYQ7YHKG 9O1FgdwtqaakE/Le4HDpsW1F38rMcijk3dqsRc1gKRVAzX3f/SAscyGdPNPED7pisygK KkvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@demsh.org header.s=022020 header.b=sJ4eoiXt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=demsh.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f3-20020a056a00228300b00540cbd3cb18si14994071pfe.234.2022.11.01.15.17.49; Tue, 01 Nov 2022 15:18:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=temperror (no key for signature) header.i=@demsh.org header.s=022020 header.b=sJ4eoiXt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=demsh.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230115AbiKAWIa (ORCPT + 96 others); Tue, 1 Nov 2022 18:08:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49020 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229827AbiKAWI1 (ORCPT ); Tue, 1 Nov 2022 18:08:27 -0400 Received: from hermod.demsh.org (hermod.demsh.org [45.140.147.175]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64F593B2; Tue, 1 Nov 2022 15:08:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=demsh.org; s=022020; t=1667340498; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=JsVluRGEduZjuSL7d5lIwtKYLmOrWX8w9pS3D6z92D4=; b=sJ4eoiXtddqyC/Dyuvh4ok/Fwveg9Ty/0izU3Hq28nZ/giEhgJ3ecg6wt6SusiUI7SbSSD ZZkFZXxyRIzWJUemGo+E8GAOKcYzz0hAp5XxqtSgNLzsMbWtk9dZ+laqYeB4cTvwsXLMzN PrmrPEVeTDFL2yyRjSBeV2yHmCSIVWByuRhwCeJYFXgf725ErNVh5QhC8pzRhGBePNRn5W E4RkCWRL6CqMazree2ftIHBOWoMG9Z3J9jRwlVKsOG5BCOLNgKwacEyCCpHCwjdCoIGtyn heXuZhiLtezfhH4Bibc+1wA2JNqrx5YC1eZpK5IMH7ThUUYdNhf21kFQLH8BIQ== Received: from xps.demsh.org (algiz.demsh.org [94.103.82.47]) by hermod.demsh.org (OpenSMTPD) with ESMTPSA id fd305621 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) auth=yes user=me; Tue, 1 Nov 2022 22:08:18 +0000 (UTC) Date: Wed, 2 Nov 2022 01:08:26 +0300 From: Dmitrii Tcvetkov To: Keith Busch Cc: Jens Axboe , Song Liu , linux-raid@vger.kernel.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [bisected] RAID1 direct IO redirecting sector loop since 6.0 Message-ID: <20221102010826.12dcb4bb@xps.demsh.org> In-Reply-To: References: <20221101001558.648ee024@xps.demsh.org> <20221101235144.06a3dbd3@xps.demsh.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,SPF_HELO_NONE,SPF_PASS,URIBL_BLACK autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 1 Nov 2022 15:18:20 -0600 Keith Busch wrote: > Oh shoot, sorry about that! Should have been this: > > @@ -703,6 +702,7 @@ void disk_stack_limits(struct gendisk *disk, > struct block_device *bdev, pr_notice("%s: Warning: Device %pg is > misaligned\n", disk->disk_name, bdev); > > + blk_queue_dma_alignment(t, queue_logical_block_size(t) - 1); > disk_update_readahead(disk); > } > EXPORT_SYMBOL(disk_stack_limits); This didn't change behaviour, second guest still hangs.