From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DA324C433FE for ; Tue, 1 Nov 2022 22:08:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230376AbiKAWI2 (ORCPT ); Tue, 1 Nov 2022 18:08:28 -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 Precedence: bulk List-ID: X-Mailing-List: linux-raid@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.