Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp2932871pxy; Mon, 3 May 2021 11:10:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxQT2p2QaNR2x8Qpzs87JfktUXradFgMoZ5lGkWAqCW77Uh5xYIkB+Ed4/Qctk7RdNznBj4 X-Received: by 2002:a17:902:ec87:b029:ee:910d:acf5 with SMTP id x7-20020a170902ec87b02900ee910dacf5mr21626590plg.66.1620065431152; Mon, 03 May 2021 11:10:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620065431; cv=none; d=google.com; s=arc-20160816; b=IcvtQNOtVHhFB2uliJZ1TsjGFFaRgnUSHHSkmHxBYdxpoOTdyw8KmZhMd3tjFb4dAt UbjzXMVAk6JjxDe41fJBqurr8h8R7vC+fkZSOe5qad4X1OYWzO5YMJ+fXA1iOoy9VOss 7VVGjUe3JiEj1so6GThTskCX058JvSuj/OXGNSG8cj4KYx17e7BVk9N1VnEsQwQw9DqK fURzK93xZNNOh7+s7HInBARfBlMfou0xuDoUpReRqpnHAw3yxzNiSs1KHfrw7llOTo5K 7a4DS0mFo/peBQNnotbC1bmP3urnfKrLuMM6fdjlSHn0oWV/0VMNqA2abUzUvrj5xmMy 7I9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :to:subject; bh=ub/LErhdbHR7AtDCQwrZWioyDIzI1kev/KhOCF9bYpo=; b=eqqMQZbF5951HGxUMNKhLvLKv5Qxi49AlN5Zw9WR3oNDH1jLwfTzCo2CQinXjPo6Cy AFOo3RXBa6rVRgEJhcSPipdsWkwBkg3KDNR4lZNeLSLLYd3Yeurw4flZ3NDEysUcdi8Q EprMtnJACDgZL4dJLF74gEp4SF4CqRHhcw6WsvYs+JxFL+w7RsyBXUVwaDvflDXL/XDD VUESL9T2TLVbi9VyfxTdCjKuD5IpUMQIjRQBPEjV4mbBN9wpHTDDxqQtDEbwE/L4XntW STMJz4h8dpmyYfWLU1k0eqSlAEI29wN/eNkbpwOcortUtnxEvKdUQgkLSQYBVKKozFCn Pu8A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ch2si13321171pjb.123.2021.05.03.11.10.18; Mon, 03 May 2021 11:10:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229954AbhECOzb (ORCPT + 99 others); Mon, 3 May 2021 10:55:31 -0400 Received: from mail-pj1-f51.google.com ([209.85.216.51]:38585 "EHLO mail-pj1-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229959AbhECOza (ORCPT ); Mon, 3 May 2021 10:55:30 -0400 Received: by mail-pj1-f51.google.com with SMTP id f11-20020a17090a638bb02901524d3a3d48so5886090pjj.3; Mon, 03 May 2021 07:54:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=ub/LErhdbHR7AtDCQwrZWioyDIzI1kev/KhOCF9bYpo=; b=FdFvEgOiRyr4RAGCP0eAtNK9emfbLXw9KeSEfEvMXRKSq3Vhd8ANzGwbmbl9HGL/Zv KRfvCgaFNrnycIfH5WM6Qsvv6PLB1lw1W9TVg37FsdTUAZ0u3xaxyJWqZ5NSAOcAYkqp rNmILmJykTZ5qCjJhMthH5hz0kEFTky9IS3FdVBbJHPt6IFrYkJcsWThhcpqstyQI+Ip HSRFzjfZJAmyaN4AfimTiOkEdA0wLUU1yYW1U46PG3TKr7v+vR6zgX0J4DWkeGGSIb9E YQT4y3Nw3G1YTf72IWZuxzioB869Q+I6rjP6EBTV1eoAvQ95prbDtFKa70zzh7G7GxRg LZlw== X-Gm-Message-State: AOAM530fOv4Elk2eQHZpjQ3cvYncnUQXwMT1hmdxVjf0W9APrEdlsWiq vV9z3t11fVTr/EZchSAFQms= X-Received: by 2002:a17:90a:7e92:: with SMTP id j18mr10703282pjl.231.1620053676675; Mon, 03 May 2021 07:54:36 -0700 (PDT) Received: from ?IPv6:2601:647:4000:d7:e960:31db:6b4:8ca7? ([2601:647:4000:d7:e960:31db:6b4:8ca7]) by smtp.gmail.com with ESMTPSA id g35sm5097128pjg.17.2021.05.03.07.54.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 03 May 2021 07:54:35 -0700 (PDT) Subject: Re: [PATCH v9] bio: limit bio max size To: Changheun Lee , axboe@kernel.dk, yi.zhang@redhat.com, ming.lei@redhat.com, bgoncalv@redhat.com, hch@lst.de, jaegeuk@kernel.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, patchwork-bot@kernel.org References: <20210503095203.29076-1-nanich.lee@samsung.com> From: Bart Van Assche Message-ID: <72a0b4e7-a374-97fb-ae73-ed24f719da98@acm.org> Date: Mon, 3 May 2021 07:54:33 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 In-Reply-To: <20210503095203.29076-1-nanich.lee@samsung.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/3/21 2:52 AM, Changheun Lee wrote: > struct queue_limits { > + unsigned int bio_max_bytes; > + > enum blk_bounce bounce; > unsigned long seg_boundary_mask; > unsigned long virt_boundary_mask; On April 23 Damien Le Moal posted the following comment about the bio_max_bytes member: "Please move this below in the structure together with all other fields that are unsigned int too." Making that change sounds like a good idea to me. Thanks, Bart.