Re: [PATCH v27 08/10] fs/ntfs3: Add Kconfig, Makefile and doc
From: Kari Argillander
Date: Tue Aug 10 2021 - 04:46:39 EST
On Tue, Aug 10, 2021 at 10:19:55AM +0200, Pali Rohár wrote:
> On Tuesday 10 August 2021 10:47:40 Kari Argillander wrote:
> > On Thu, Jul 29, 2021 at 04:49:41PM +0300, Konstantin Komarov wrote:
> > > This adds Kconfig, Makefile and doc
> > >
> > > Signed-off-by: Konstantin Komarov <almaz.alexandrovich@xxxxxxxxxxxxxxxxxxxx>
> > > ---
> > > Documentation/filesystems/ntfs3.rst | 107 ++++++++++++++++++++++++++++
> >
> > Still missing Documentation/filesystems/index.rst as I stated before
> > https://lore.kernel.org/linux-fsdevel/20210103220739.2gkh6gy3iatv4fog@kari-VirtualBox/
> >
> > > fs/ntfs3/Kconfig | 46 ++++++++++++
> > > fs/ntfs3/Makefile | 36 ++++++++++
> > > 3 files changed, 189 insertions(+)
> > > create mode 100644 Documentation/filesystems/ntfs3.rst
> > > create mode 100644 fs/ntfs3/Kconfig
> > > create mode 100644 fs/ntfs3/Makefile
> > >
> > > diff --git a/Documentation/filesystems/ntfs3.rst b/Documentation/filesystems/ntfs3.rst
> >
> >
> > > +Mount Options
> > > +=============
> > > +
> > > +The list below describes mount options supported by NTFS3 driver in addition to
> > > +generic ones.
> > > +
> > > +===============================================================================
> > > +
> > > +nls=name This option informs the driver how to interpret path
> > > + strings and translate them to Unicode and back. If
> > > + this option is not set, the default codepage will be
> > > + used (CONFIG_NLS_DEFAULT).
> > > + Examples:
> > > + 'nls=utf8'
> >
> > It seems that kernel community will start use iocharset= as default. nls
> > option can still be alias but will need deprecated message. See message
> > https://lore.kernel.org/linux-fsdevel/20200102211855.gg62r7jshp742d6i@pali/
> >
> > and current work from Pali
> > https://lore.kernel.org/linux-fsdevel/20210808162453.1653-1-pali@xxxxxxxxxx/
> >
> > This is still RFC state so probably no horry, but good to know stuff. I
> > also added Pali so he also knows.
>
> I was already in loop :-)
Yeah just added To: so that you really know someone mention you.
> Anyway, yes, above RFC patch migrates all drivers to use iocharset=
> mount option as it is the option which is already used by most fs
> drivers. So argument is consistency.
>
> But having the preferred mount option name in new fs drivers would
> decrease work needed to done in that patch series.
Yeah it would be prefered that before this gets Linus tree then this
will use iocharset. Because this driver will probably replace NTFS
driver some day I think it is still good idea to make nls= alias. And
also because Paragon's own customers will might use it and there is
already many many users who uses ntfs3 because it is included some "must
have kernel patch lists".