login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
December
»
10
Re: [PATCH] cifs: Add information about noserverino
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [author]
[view in full thread]
From: Steve French
Subject:
Re: [PATCH] cifs: Add information about noserverino
Date: Thursday, December 9, 2010 - 9:58 pm
On Thu, Dec 9, 2010 at 9:09 PM, Suresh Jayaraman <sjayaraman@suse.de> wrote:
quoted text
> On 12/10/2010 02:14 AM, Steve French wrote: >> On Thu, Dec 9, 2010 at 1:34 PM, Jeff Layton <jlayton@redhat.com> wrote: >>> On Thu, 9 Dec 2010 12:26:39 -0600 >>> Steve French <smfrench@gmail.com> wrote: >>> >>>> On Thu, Dec 9, 2010 at 6:09 AM, Jeff Layton <jlayton@redhat.com> wrote: >>>>> On Thu, 09 Dec 2010 17:10:28 +0530 >>>>> Suresh Jayaraman <sjayaraman@suse.de> wrote: >>>>> >>>>>> On 12/06/2010 09:08 PM, Jeff Layton wrote: >>>>>>> On Mon, 06 Dec 2010 16:35:06 +0100 >>>>>>> Bernhard Walle <bernhard@bwalle.de> wrote: >>>>>>> >>>>>>>> >>>>>>>> Zitat von Jeff Layton <jlayton@redhat.com>: >>>>>>>> >>>>>>>>> >>>>>>>>> I'm still not sure I like this patch however. It potentially means a >>>>>>>>> lot of printk spam since these things have no ratelimiting. It also >>>>>>>>> doesn't tell me anything about which server might be giving me grief. >>>>>>>>> >>>>>>>>> Maybe this should be turned into a cFYI? >>>>>>>> >>>>>>>> Well, if I see it in the kernel log, it doesn't matter if it's info or >>>>>>>> something else. >>>>>>>> >>>>>>>>> The bottom line though is that running 32-bit applications that were >>>>>>>>> built without -D_FILE_OFFSET_BITS=64 on a 64-bit kernel is a very bad >>>>>>>>> idea. It would be nice to be able to alert users that things aren't >>>>>>>>> working the way they expect, but I'm not sure this is the right place >>>>>>>>> to do that. >>>>>>>> >>>>>>>> Well, but there *are* such application (in my case it was Softmaker Office >>>>>>>> which is a proprietary word processor) and it's quite nice if you know >>>>>>>> how you can workaround it when you encounter such a problem. That's all. >>>>>>>> >>>>>>> >>>>>>> Sure...but this problem is not limited to CIFS. Many modern filesystems >>>>>>> use 64-bit inodes. Running this application on XFS or NFS for instance >>>>>>> is likely to give you the same trouble. You just hit it on CIFS because >>>>>>> the server happened to give you a very large inode number. >>>>>>> >>>>>>> If we're going to add printk's for this situation, it probably ought to >>>>>>> be in a more generic place. >>>>>>> >>>>>> >>>>>> By generic place, did you mean at the VFS level? I think at VFS level, >>>>>> there is little information about the Server or underlying fs and this >>>>>> information doesn't seem too critical that VFS should warn/care much about. >>>>>> >>>>>> May be sticking to a cFYI along with Server detail is a good idea? >>>>>> >>>>> My poing was mainly that there's nothing special about CIFS in this >>>>> regard, other than the fact that servers regularly send us inodes that >>>>> are larger than 2^32. Why should we do this for cifs but not for nfs, >>>>> xfs, ext4, etc? >>>>> >>>>> The filldir function gets a dentry as an argument, so it could >>>>> reasonably generate a printk for this. I'm also not keen on >>>>> the printk recommending noserverino for this. That has its own >>>>> drawbacks. >>>>> >>>>> A cFYI for this sort of thing seems reasonable however. >>>> >>>> I agree that a cFYI is reasonable. �The next obvious question is: do >>>> we need to add code to generate unique 32 bit inode numbers >>>> that don't collide (as IIRC Samba does by xor the high and low 32 >>>> bits of the inode number) when the app can't support ino64 >>>> I would prefer not to go back to noserverino since that has worse >>>> drawbacks. >>>> >>> >>> Right, the fact that noserverino works around this is really just due >>> to an implementation detail of iunique(). That should probably be >>> discouraged as a solution since it's not guaranteed to be a workaround >>> in the future. >>> >>> If we did add such a switch, I'd suggest that we pattern it after what >>> NFS did for this. They added an "enable_ino64" module parameter a >>> couple of years ago that defaults to "true". > > What are the advantages we have by making it a module parameter as > opposed to an mount option? XFS seems to have "inode64" mount option for > quite sometime now, without much issues..
I prefer mount option, but with the default to support 64 bit inode numbers.
quoted text
>> makes me uncomfortable to break ino64 for all mounts - when we >> may have one application on one mount that needs it (might be >> better to make a mount related) >> >> > > > -- > Suresh Jayaraman >
-- Thanks, Steve --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [author]
Messages in current thread:
[PATCH] cifs: Add information about noserverino
, Bernhard Walle
, (Sun Dec 5, 10:07 am)
Re: [PATCH] cifs: Add information about noserverino
, Suresh Jayaraman
, (Sun Dec 5, 11:57 pm)
Re: [PATCH] cifs: Add information about noserverino
, Jeff Layton
, (Mon Dec 6, 7:57 am)
Re: [PATCH] cifs: Add information about noserverino
, Bernhard Walle
, (Mon Dec 6, 8:11 am)
Re: [PATCH] cifs: Add information about noserverino
, Jeff Layton
, (Mon Dec 6, 8:12 am)
Re: [PATCH] cifs: Add information about noserverino
, Bernhard Walle
, (Mon Dec 6, 8:35 am)
Re: [PATCH] cifs: Add information about noserverino
, Jeff Layton
, (Mon Dec 6, 8:38 am)
Re: [PATCH] cifs: Add information about noserverino
, Suresh Jayaraman
, (Thu Dec 9, 4:40 am)
Re: [PATCH] cifs: Add information about noserverino
, Jeff Layton
, (Thu Dec 9, 5:09 am)
Re: [PATCH] cifs: Add information about noserverino
, Steve French
, (Thu Dec 9, 11:26 am)
Re: [PATCH] cifs: Add information about noserverino
, Jeff Layton
, (Thu Dec 9, 12:34 pm)
Re: [PATCH] cifs: Add information about noserverino
, Steve French
, (Thu Dec 9, 1:44 pm)
Re: [PATCH] cifs: Add information about noserverino
, Jeff Layton
, (Thu Dec 9, 1:56 pm)
Re: [PATCH] cifs: Add information about noserverino
, Suresh Jayaraman
, (Thu Dec 9, 8:09 pm)
Re: [PATCH] cifs: Add information about noserverino
, Steve French
, (Thu Dec 9, 9:58 pm)
Re: [PATCH] cifs: Add information about noserverino
, Jeff Layton
, (Fri Dec 10, 4:05 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Paul Turner
[tg_shares_up rewrite v4 11/11] sched: update tg->shares after cpu.shares write
Mr. James W. Laferriere
Re: Linux 2.6.25-rc1 , syntax error near unexpected token `;'
Linus Torvalds
Linux 2.6.34-rc4
Chuck Ebbert
Re: PCI: Unable to reserve mem region problem
Paul Menage
Re: [PATCH] Fix cpuset sched_relax_domain_level control file
git
:
Ralf Wildenhues
[PATCH] Fix typos in the documentation
Len Brown
Re: fatal: unable to create '.git/index': File exists
Denis Bueno
Git clone error
Sam Vilain
Re: RFC: Flat directory for notes, or fan-out? Both!
Oliver Hoffmann
git init --bare versus git --bare init
git-commits-head
:
Linux Kernel Mailing List
ASoC: fix registration of the SoC card in the Freescale MPC8610 drivers
Linux Kernel Mailing List
drivers/acpi: use kasprintf
Linux Kernel Mailing List
nfsd41: sanity check client drc maxreqs
Linux Kernel Mailing List
bnx2x: Moving includes
Linux Kernel Mailing List
V4L/DVB: gspca - sonixj: Adjust minor values of sensor ov7630. - set the color ga...
openbsd-misc
:
Sevan / Venture37
Re: This is what Linus Torvalds calls openBSD crowd
Netmaffia.hu
Tini Lányok AKCIÓBAN OTTHON
Sam Fourman Jr.
Re: Help with Altell PC6700
Siju George
This is what Linus Torvalds calls openBSD crowd
Darrin Chandler
Re: OT: Python (was Re: vi in /bin)
linux-netdev
:
Kurt Van Dijck
Re: [PATCH net-next-2.6 1/2] can: add driver for Softing card
Eric Dumazet
Re: [PATCH net-next-2.6] net: Introduce skb_orphan_try()
Jamie Lokier
Re: POHMELFS high performance network filesystem. Transactions, failover, performa...
Jarek Poplawski
Re: socket api problem: can't bind an ipv6 socket to ::ffff:0.0.0.0
David Miller
Re: [PATCH v2] net: typos in comments in include/linux/igmp.h
Colocation donated by:
Syndicate