Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1154525ybl; Tue, 3 Dec 2019 02:38:15 -0800 (PST) X-Google-Smtp-Source: APXvYqzoUvOQAK35yapI/PoA/arnZl4uCxaJ3Jy4W1TDQoaNgXxPtQ+KPhl4zbqmwTtTZU9wnmrM X-Received: by 2002:aca:4e90:: with SMTP id c138mr3027059oib.147.1575369495211; Tue, 03 Dec 2019 02:38:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575369495; cv=none; d=google.com; s=arc-20160816; b=e8Gb5ex3wKIE66jYNOdbnnHy2SBzqLp/K1i6dYYBsUqbeMF7PGkaHty2YgKHptJjCU ISajr6ePPz7rvFyTtrJ3fz61PIN92nB02xO3amV7slB7shjhYsxGyPCx9OQYlLk/r5sW kL9OqJXCcJYQGnskx74i7U+lk2wq5Aox24xYYgiCeOnI+xazE0I3ogej04Dm7jv8ifb1 12Qk6kPx1i7Z3OcjNua+sCl6AgU7cjGb2lMqOgUhOFsgog4R5j1BrSEhb6+mvCMXbB7N jfyhi7OdysOjg8qwTBzCTkalYOzLIytcoOeQP3SGCBCKtaOhKAGrBjGxACS6KZjRTpK5 3X3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=Q+735gGCXevswzwfpCOFjVKAkug8qCPXCSRULo1Os3Q=; b=moKHDGRcyFeS+riRMvt16QrJ2PuLBVXlddc7eRaDvvZqxwfHhBgORpxGXS3M1nfwac xfMCAmmwTe9c5RWJkeSV7eIlVHSkKl+MfRdxeflxQiuDWagmhE7B1kzbq45OJeain/dn swx9Y/JUKXwCm6z1j1w7Z1e7oIGkywWjAy8sjchstFJ20xRB/XLNWUwf1hhDxNKXliWw PChEChD3J0OsA4ba7+AlgJSRCHrv5T07QJiM5kuMLezfU2ejsWSiTHTYHiaXEb3ZpPXZ /R4yrHgYOyV3Fc33EyM8YTMXyuvnrvzy1rYXgRcOrMly/aMnr0jwYbVjAKqrVEXpHM1n EPww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Pr0qDdPn; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s4si979811otd.113.2019.12.03.02.38.02; Tue, 03 Dec 2019 02:38:15 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Pr0qDdPn; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726079AbfLCKg0 (ORCPT + 99 others); Tue, 3 Dec 2019 05:36:26 -0500 Received: from mail-ot1-f47.google.com ([209.85.210.47]:46673 "EHLO mail-ot1-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725829AbfLCKgZ (ORCPT ); Tue, 3 Dec 2019 05:36:25 -0500 Received: by mail-ot1-f47.google.com with SMTP id g18so2410058otj.13 for ; Tue, 03 Dec 2019 02:36:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=Q+735gGCXevswzwfpCOFjVKAkug8qCPXCSRULo1Os3Q=; b=Pr0qDdPnz4S4yfoq52AnT57mX+qS0QeZyWD2gxwjt7NrHFoBtQzS2CI2ll8Kl0yO9s SF30Qb5YdOFOlD229QYAJ87qrdDRb3RSTIdjEFYQpJB6T/KEyFvI9RMiY8/Fdnqiqtya 4JiA80hxlwCQbWTuyOxf4jvXlx55ODRZXhuJF6oYaDn28MwOPZtOjvNZcV4+D6COhWcO LZ8Nj6b9Ob7AUXaq66EbIoEQKv1CSmJEdampHp1TwoRbHi90SgrIomgxjMb5gexZNOBk Wj9EPWyCYnpMSYvg0XgzJsIhW1l0EpV16hZFWZb3grsZlPiuKPG5Mudp0dUexkT7v9yV edlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=Q+735gGCXevswzwfpCOFjVKAkug8qCPXCSRULo1Os3Q=; b=iVPZGdZmEl1oStJq1iCg6+DamflnVWpxN4FxuPirUUgvvfEagIE5f3yjBHggOsHrLU 4tLQj3KPCeyam6ro14whdcJjaGENX7WWhxdyeFv9SkiJmaHlP9y2cvWAnYLwPhTz0F3n PoshKLSzUCTRtvO9x1tCh2Q/IF3JJIbJPw1781O3dKOuf87Y6tbAOUUijt3UFT1oGqdP uvvf2JYiQAoNfII2CHMtsWgh8EXgEkA9HD5Ui9QhPzulJvq0o/jDdO2N+qi/Gy3lb1Uk 2EzL61AecVUWz207pChHXk2E0YT0aA8+GBHc3atkGEDfD0/Y1Q992MLekQVu/4FSmdGx qIOQ== X-Gm-Message-State: APjAAAWOPJcQpt4mAIYse8+cZlzigAqT4rg+jOeZLi1itkIXDgNjsESQ Q4womxCeMWEZhDI7YX8gIFfYpVZCVH7LeUwu10Gt/YT4yeQ= X-Received: by 2002:a9d:192f:: with SMTP id j47mr2765461ota.230.1575369384620; Tue, 03 Dec 2019 02:36:24 -0800 (PST) MIME-Version: 1.0 References: <20191203084134.tgzir4mtekpm5xbs@pengutronix.de> <614898763.105471.1575364223372.JavaMail.zimbra@nod.at> In-Reply-To: <614898763.105471.1575364223372.JavaMail.zimbra@nod.at> From: naga suresh kumar Date: Tue, 3 Dec 2019 16:06:12 +0530 Message-ID: Subject: Re: ubifs mount failure To: Richard Weinberger Cc: Naga Sureshkumar Relli , Sascha Hauer , Miquel Raynal , linux-kernel , Michal Simek , siva durga paladugu , linux-mtd Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Richard, On Tue, Dec 3, 2019 at 2:40 PM Richard Weinberger wrote: > > ----- Urspr=C3=BCngliche Mail ----- > > Von: "Naga Sureshkumar Relli" > > https://elixir.bootlin.com/linux/v5.4/source/fs/ubifs/sb.c#L164 > > we are trying to allocate 4325376 (~4MB) > > 4MiB? Is ->min_io_size that large? if you see https://elixir.bootlin.com/linux/latest/source/fs/ubifs/sb.c#L16= 4 The size is actually ALIGN(tmp, c->min_io_size). Here tmp is of 4325376 Bytes and min_io_size is 16384 Bytes Thanks, Naga Sureshkumar Relli > > Thanks, > //richard > > ______________________________________________________ > Linux MTD discussion mailing list > http://lists.infradead.org/mailman/listinfo/linux-mtd/