mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Nikunj Kela (nkela)" <nkela@cisco.com>
To: David Woodhouse <dwmw2@infradead.org>
Cc: "xe-linux-external(mailer list)" <xe-linux-external@cisco.com>,
	"linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] jffs2: implement mount option to configure endianness
Date: Wed, 7 Nov 2018 18:04:35 +0000	[thread overview]
Message-ID: <591D4732-BC3E-4F85-9277-25E049FFF4BA@cisco.com> (raw)
In-Reply-To: <921b0f78cf67d7307a0555e1fd6f2c2976310adc.camel@infradead.org>

On 11/7/18, 1:05 AM, "David Woodhouse" <dwmw2@infradead.org> wrote:

    On Tue, 2018-11-06 at 13:49 -0800, Nikunj Kela wrote:
   >> This patch allows the endianness of the JFSS2 filesystem to be
    >> specified by mount option 'force_endian=big|little|native'. If
    >> endianness is not specified, it defaults to 'native' endianness
    >> thus retaining the existing behavior.
    >> 
    >> Some architectures benefit from having a single known endianness
    >> of JFFS2 filesystem (for data, not executables) independent of the
    >> endianness of the processor (ARM processors can be switched to either
    >> endianness at run-time).
    >> 
    >> We have boards that are shipped with BE jffs2 and BE kernel. We are
    >> now migrating to LE kernel. This mount option helps us in mounting
    >> BE jffs2 on LE kernel.
    
    >Thanks for implementing this. JFFS2 has often been very sensitive to
    >performance at mount time — I'd love to see how this affects the time
    >taken to mount a large file system. If it's significant, we may want a
    >config option to make this conditional?
    >
    >Also, perhaps we should improve the behaviour when the user
    >accidentally tries to mount a wrong-endian file system. If we can't
    >just make it autodetect and use the "correct" endianness, perhaps we
    >should at least printk a message suggesting that the user try again
    >with the other endianness?

I had tried to use configs to start with via the following patch however I was advised to have a mount option:
http://lists.infradead.org/pipermail/linux-mtd/2018-November/085126.html

Thanks,
-Nikunj
    


  parent reply	other threads:[~2018-11-07 18:04 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-06 21:49 Nikunj Kela
2018-11-07  9:05 ` David Woodhouse
2018-11-07  9:16   ` Joakim Tjernlund
2018-11-07 16:12     ` David Woodhouse
2018-11-07 17:33       ` Daniel Walker
2018-11-07 17:58         ` David Woodhouse
2018-11-07 18:41           ` Joakim Tjernlund
2018-11-08 15:25             ` Christoph Hellwig
2018-11-07 19:21           ` Daniel Walker
2018-11-07 18:04   ` Nikunj Kela (nkela) [this message]
2018-11-07 18:14     ` Richard Weinberger
2018-11-08  8:11       ` David Woodhouse
2018-11-08 18:01         ` Nikunj Kela (nkela)
2018-11-08 18:50           ` Joakim Tjernlund
2018-11-08 19:47           ` David Woodhouse
2018-11-12 21:43             ` Daniel Walker
2018-11-12 22:50               ` Daniel Walker
2018-11-12 23:11                 ` David Woodhouse
2018-11-12 23:40                   ` Daniel Walker
2018-11-12 23:43                     ` David Woodhouse
2018-11-13  0:06                       ` Daniel Walker
2018-11-13 21:01                       ` Daniel Walker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=591D4732-BC3E-4F85-9277-25E049FFF4BA@cisco.com \
    --to=nkela@cisco.com \
    --cc=dwmw2@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=xe-linux-external@cisco.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®