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 X-Spam-Level: X-Spam-Status: No, score=-2.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E5EEFC43331 for ; Mon, 30 Mar 2020 13:53:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B177F2073B for ; Mon, 30 Mar 2020 13:53:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1585576406; bh=9fj94aO+4iZ5CJVZaUxcTEXkFO9lNUuFcHzpzx0huIg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=IWf44PeMoI0gjRqlnEmR4SRnUYs6wzg+kgtdyYk3tzzBg+S0AYpiGvgLONv/QMdgo Q+Av6j+vEx1XSAkF322oqkn+IHpS3NgMK3ZP45qx9zJgGcD2NeSBYnYagXg3l+cJBs MW9uAOaP2OQ2meWOnQaZj/iHEebG1Fnpe3Jk5nuo= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728335AbgC3Nx0 (ORCPT ); Mon, 30 Mar 2020 09:53:26 -0400 Received: from mail.kernel.org ([198.145.29.99]:41990 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725268AbgC3Nx0 (ORCPT ); Mon, 30 Mar 2020 09:53:26 -0400 Received: from C02WT3WMHTD6 (unknown [8.36.226.102]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 53AFA206CC; Mon, 30 Mar 2020 13:53:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1585576405; bh=9fj94aO+4iZ5CJVZaUxcTEXkFO9lNUuFcHzpzx0huIg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=vUJuqJD9rP+HVMcF2vqQ/l2b7bWGsDibN/cJ6LOXo70nGdl2Sv2L3HajIyzdCENtf UBeBcJxxwtOxqAmQFfarvAsuPG6VLuLcMaNZRSZjOrU0BffsCnKwbsfYUWxGcgK4Ld poJII5poqzXZhxe3nQoK0eTu9BIUcPCC0yvN0cyc= Date: Mon, 30 Mar 2020 07:53:23 -0600 From: Keith Busch To: Tokunori Ikegami Cc: Ming Lei , "linux-block@vger.kernel.org" , "linux-nvme@lists.infradead.org" , Chaitanya Kulkarni Subject: Re: [PATCH] block, nvme: Increase max segments parameter setting value Message-ID: <20200330135323.GA32604@C02WT3WMHTD6> References: <20200324000237.GB15091@redsun51.ssa.fujisawa.hgst.com> <6b73db44-ca3f-4285-0c91-dc1b1a5ca9f1@gmail.com> <20200327181825.GA8356@redsun51.ssa.fujisawa.hgst.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org On Mon, Mar 30, 2020 at 06:15:41PM +0900, Tokunori Ikegami wrote: > But there is a case that the command data length is limited by 512KB. > I am not sure about this condition so needed more investigation. Your memory is too fragmented. You need more physically contiguous memory or you'll hit the segment limit before you hit the length limit. Try allocating huge pages.