All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next] xfs: eliminate kconfig dependency warning
@ 2010-10-14  4:01 Randy Dunlap
  2010-10-14  4:48 ` Dave Chinner
  2010-10-14  9:25 ` [xfs-masters] " Christoph Hellwig
  0 siblings, 2 replies; 8+ messages in thread
From: Randy Dunlap @ 2010-10-14  4:01 UTC (permalink / raw)
  To: xfs-masters, lkml; +Cc: Alex Elder, akpm

From: Randy Dunlap <randy.dunlap@oracle.com>

Fix kconfig dependency warning to satisfy dependencies:

warning: (XFS_FS && BLOCK || NFSD && NETWORK_FILESYSTEMS && INET && FILE_LOCKING && BKL) selects EXPORTFS which has unmet direct dependencies (NETWORK_FILESYSTEMS)

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
 fs/xfs/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20101013.orig/fs/xfs/Kconfig
+++ linux-next-20101013/fs/xfs/Kconfig
@@ -1,6 +1,6 @@
 config XFS_FS
 	tristate "XFS filesystem support"
-	depends on BLOCK
+	depends on BLOCK && NETWORK_FILESYSTEMS
 	select EXPORTFS
 	help
 	  XFS is a high performance journaling filesystem which originated

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH -next] xfs: eliminate kconfig dependency warning
  2010-10-14  4:01 [PATCH -next] xfs: eliminate kconfig dependency warning Randy Dunlap
@ 2010-10-14  4:48 ` Dave Chinner
  2010-10-14  9:25 ` [xfs-masters] " Christoph Hellwig
  1 sibling, 0 replies; 8+ messages in thread
From: Dave Chinner @ 2010-10-14  4:48 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: xfs-masters, lkml, Alex Elder, akpm

On Wed, Oct 13, 2010 at 09:01:42PM -0700, Randy Dunlap wrote:
> From: Randy Dunlap <randy.dunlap@oracle.com>
> 
> Fix kconfig dependency warning to satisfy dependencies:
> 
> warning: (XFS_FS && BLOCK || NFSD && NETWORK_FILESYSTEMS && INET && FILE_LOCKING && BKL) selects EXPORTFS which has unmet direct dependencies (NETWORK_FILESYSTEMS)
> 
> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
> ---
>  fs/xfs/Kconfig |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> --- linux-next-20101013.orig/fs/xfs/Kconfig
> +++ linux-next-20101013/fs/xfs/Kconfig
> @@ -1,6 +1,6 @@
>  config XFS_FS
>  	tristate "XFS filesystem support"
> -	depends on BLOCK
> +	depends on BLOCK && NETWORK_FILESYSTEMS
>  	select EXPORTFS
>  	help
>  	  XFS is a high performance journaling filesystem which originated

This looks wrong to me.  IIUC, this means if you turn of network
filesystem support (e.g no NFS, CIFS, etc), you can't select XFS
even though it is a local filesystem.

EXPORTFS functionality actually has use for local filesystems - the
open-by-handle interfaces in XFS are what uses it, and there are patches
about that make this generic for most filesystems. Hence it seems to
me that the correct thing to do is separate EXPORTFS from
NETWORK_FILESYSTEMS, not make local filesystems depend on a user
selecting network filesystem support....

Cheers,

Dave.
-- 
Dave Chinner
david@fromorbit.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [xfs-masters] [PATCH -next] xfs: eliminate kconfig dependency warning
  2010-10-14  4:01 [PATCH -next] xfs: eliminate kconfig dependency warning Randy Dunlap
  2010-10-14  4:48 ` Dave Chinner
@ 2010-10-14  9:25 ` Christoph Hellwig
  2010-10-14 15:44   ` Randy Dunlap
  2010-10-14 17:18   ` Randy Dunlap
  1 sibling, 2 replies; 8+ messages in thread
From: Christoph Hellwig @ 2010-10-14  9:25 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: xfs-masters, lkml, akpm

On Wed, Oct 13, 2010 at 09:01:42PM -0700, Randy Dunlap wrote:
> From: Randy Dunlap <randy.dunlap@oracle.com>
> 
> Fix kconfig dependency warning to satisfy dependencies:
> 
> warning: (XFS_FS && BLOCK || NFSD && NETWORK_FILESYSTEMS && INET && FILE_LOCKING && BKL) selects EXPORTFS which has unmet direct dependencies (NETWORK_FILESYSTEMS)

I'm not entirely sure what this gibberish means, but I'm pretty sure it
does not make sense.

EXPORTFS is a small module that doesn't have any dependencie, and it's
needed by XFS for the by-handle operation, and by nfsd for the same
thing.  It has absolutely nothing to do with networking or network
filesystems (as in network filesystem clients).


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [xfs-masters] [PATCH -next] xfs: eliminate kconfig dependency warning
  2010-10-14  9:25 ` [xfs-masters] " Christoph Hellwig
@ 2010-10-14 15:44   ` Randy Dunlap
  2010-10-14 17:18   ` Randy Dunlap
  1 sibling, 0 replies; 8+ messages in thread
From: Randy Dunlap @ 2010-10-14 15:44 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: xfs-masters, lkml, akpm

On 10/14/10 02:25, Christoph Hellwig wrote:
> On Wed, Oct 13, 2010 at 09:01:42PM -0700, Randy Dunlap wrote:
>> From: Randy Dunlap <randy.dunlap@oracle.com>
>>
>> Fix kconfig dependency warning to satisfy dependencies:
>>
>> warning: (XFS_FS && BLOCK || NFSD && NETWORK_FILESYSTEMS && INET && FILE_LOCKING && BKL) selects EXPORTFS which has unmet direct dependencies (NETWORK_FILESYSTEMS)
> 
> I'm not entirely sure what this gibberish means, but I'm pretty sure it
> does not make sense.
> 
> EXPORTFS is a small module that doesn't have any dependencie, and it's
> needed by XFS for the by-handle operation, and by nfsd for the same
> thing.  It has absolutely nothing to do with networking or network
> filesystems (as in network filesystem clients).
> 

Thanks, Dave and Christoph.  I'll look elsewhere for the glitch.

-- 
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [xfs-masters] [PATCH -next] xfs: eliminate kconfig dependency warning
  2010-10-14  9:25 ` [xfs-masters] " Christoph Hellwig
  2010-10-14 15:44   ` Randy Dunlap
@ 2010-10-14 17:18   ` Randy Dunlap
  2010-10-14 20:55     ` Dave Chinner
  2010-10-14 22:32     ` Christoph Hellwig
  1 sibling, 2 replies; 8+ messages in thread
From: Randy Dunlap @ 2010-10-14 17:18 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: xfs-masters, lkml, akpm, Dave Chinner

On 10/14/10 02:25, Christoph Hellwig wrote:
> On Wed, Oct 13, 2010 at 09:01:42PM -0700, Randy Dunlap wrote:
>> From: Randy Dunlap <randy.dunlap@oracle.com>
>>
>> Fix kconfig dependency warning to satisfy dependencies:
>>
>> warning: (XFS_FS && BLOCK || NFSD && NETWORK_FILESYSTEMS && INET && FILE_LOCKING && BKL) selects EXPORTFS which has unmet direct dependencies (NETWORK_FILESYSTEMS)
> 
> I'm not entirely sure what this gibberish means, but I'm pretty sure it
> does not make sense.
> 
> EXPORTFS is a small module that doesn't have any dependencie, and it's
> needed by XFS for the by-handle operation, and by nfsd for the same
> thing.  It has absolutely nothing to do with networking or network
> filesystems (as in network filesystem clients).

The (kconfig) warning/problem is that exportfs is in the Networking Filesystems menu,
under the kconfig symbol NETWORK_FILESYSTEMS.

Dave Chinner wrote:
| EXPORTFS functionality actually has use for local filesystems - the
| open-by-handle interfaces in XFS are what uses it, and there are patches
| about that make this generic for most filesystems. Hence it seems to
| me that the correct thing to do is separate EXPORTFS from
| NETWORK_FILESYSTEMS, not make local filesystems depend on a user
| selecting network filesystem support....

Agreed.  Is that Kconfig change also part of the "patches about"?

thanks,
-- 
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [xfs-masters] [PATCH -next] xfs: eliminate kconfig dependency warning
  2010-10-14 17:18   ` Randy Dunlap
@ 2010-10-14 20:55     ` Dave Chinner
  2010-10-14 21:03       ` Randy Dunlap
  2010-10-14 22:32     ` Christoph Hellwig
  1 sibling, 1 reply; 8+ messages in thread
From: Dave Chinner @ 2010-10-14 20:55 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: Christoph Hellwig, xfs-masters, lkml, akpm

On Thu, Oct 14, 2010 at 10:18:19AM -0700, Randy Dunlap wrote:
> On 10/14/10 02:25, Christoph Hellwig wrote:
> > On Wed, Oct 13, 2010 at 09:01:42PM -0700, Randy Dunlap wrote:
> >> From: Randy Dunlap <randy.dunlap@oracle.com>
> >>
> >> Fix kconfig dependency warning to satisfy dependencies:
> >>
> >> warning: (XFS_FS && BLOCK || NFSD && NETWORK_FILESYSTEMS && INET && FILE_LOCKING && BKL) selects EXPORTFS which has unmet direct dependencies (NETWORK_FILESYSTEMS)
> > 
> > I'm not entirely sure what this gibberish means, but I'm pretty sure it
> > does not make sense.
> > 
> > EXPORTFS is a small module that doesn't have any dependencie, and it's
> > needed by XFS for the by-handle operation, and by nfsd for the same
> > thing.  It has absolutely nothing to do with networking or network
> > filesystems (as in network filesystem clients).
> 
> The (kconfig) warning/problem is that exportfs is in the Networking Filesystems menu,
> under the kconfig symbol NETWORK_FILESYSTEMS.

Thanks for the explanation, Randy.

> Dave Chinner wrote:
> | EXPORTFS functionality actually has use for local filesystems - the
> | open-by-handle interfaces in XFS are what uses it, and there are patches
> | about that make this generic for most filesystems. Hence it seems to
> | me that the correct thing to do is separate EXPORTFS from
> | NETWORK_FILESYSTEMS, not make local filesystems depend on a user
> | selecting network filesystem support....
> 
> Agreed.  Is that Kconfig change also part of the "patches about"?

I can't remember exactly what it does with the kconfig symbols.
Information about the patch series (including a link to the git repo
storing the changes) is here:

http://marc.info/?l=linux-fsdevel&m=128627415827161&w=2

Cheers,

Dave.
-- 
Dave Chinner
david@fromorbit.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [xfs-masters] [PATCH -next] xfs: eliminate kconfig dependency warning
  2010-10-14 20:55     ` Dave Chinner
@ 2010-10-14 21:03       ` Randy Dunlap
  0 siblings, 0 replies; 8+ messages in thread
From: Randy Dunlap @ 2010-10-14 21:03 UTC (permalink / raw)
  To: Dave Chinner; +Cc: Christoph Hellwig, xfs-masters, lkml, akpm

On 10/14/10 13:55, Dave Chinner wrote:
> On Thu, Oct 14, 2010 at 10:18:19AM -0700, Randy Dunlap wrote:
>> On 10/14/10 02:25, Christoph Hellwig wrote:
>>> On Wed, Oct 13, 2010 at 09:01:42PM -0700, Randy Dunlap wrote:
>>>> From: Randy Dunlap <randy.dunlap@oracle.com>
>>>>
>>>> Fix kconfig dependency warning to satisfy dependencies:
>>>>
>>>> warning: (XFS_FS && BLOCK || NFSD && NETWORK_FILESYSTEMS && INET && FILE_LOCKING && BKL) selects EXPORTFS which has unmet direct dependencies (NETWORK_FILESYSTEMS)
>>>
>>> I'm not entirely sure what this gibberish means, but I'm pretty sure it
>>> does not make sense.
>>>
>>> EXPORTFS is a small module that doesn't have any dependencie, and it's
>>> needed by XFS for the by-handle operation, and by nfsd for the same
>>> thing.  It has absolutely nothing to do with networking or network
>>> filesystems (as in network filesystem clients).
>>
>> The (kconfig) warning/problem is that exportfs is in the Networking Filesystems menu,
>> under the kconfig symbol NETWORK_FILESYSTEMS.
> 
> Thanks for the explanation, Randy.
> 
>> Dave Chinner wrote:
>> | EXPORTFS functionality actually has use for local filesystems - the
>> | open-by-handle interfaces in XFS are what uses it, and there are patches
>> | about that make this generic for most filesystems. Hence it seems to
>> | me that the correct thing to do is separate EXPORTFS from
>> | NETWORK_FILESYSTEMS, not make local filesystems depend on a user
>> | selecting network filesystem support....
>>
>> Agreed.  Is that Kconfig change also part of the "patches about"?
> 
> I can't remember exactly what it does with the kconfig symbols.
> Information about the patch series (including a link to the git repo
> storing the changes) is here:
> 
> http://marc.info/?l=linux-fsdevel&m=128627415827161&w=2

That patch series does not modify any Kconfig files.
That change can be done separately and at another time.

Thanks for the pointer.
-- 
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [xfs-masters] [PATCH -next] xfs: eliminate kconfig dependency warning
  2010-10-14 17:18   ` Randy Dunlap
  2010-10-14 20:55     ` Dave Chinner
@ 2010-10-14 22:32     ` Christoph Hellwig
  1 sibling, 0 replies; 8+ messages in thread
From: Christoph Hellwig @ 2010-10-14 22:32 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: Christoph Hellwig, xfs-masters, lkml, akpm, Dave Chinner

On Thu, Oct 14, 2010 at 10:18:19AM -0700, Randy Dunlap wrote:
> The (kconfig) warning/problem is that exportfs is in the Networking Filesystems menu,
> under the kconfig symbol NETWORK_FILESYSTEMS.

That's the culprit.  exportfs is just a helper library and should not
depend on anthing.  Looks like on of the various Kconfig patches broke
that.  Moving out of NETWORK_FILESYSTEMS will fix it.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-10-14 22:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-14  4:01 [PATCH -next] xfs: eliminate kconfig dependency warning Randy Dunlap
2010-10-14  4:48 ` Dave Chinner
2010-10-14  9:25 ` [xfs-masters] " Christoph Hellwig
2010-10-14 15:44   ` Randy Dunlap
2010-10-14 17:18   ` Randy Dunlap
2010-10-14 20:55     ` Dave Chinner
2010-10-14 21:03       ` Randy Dunlap
2010-10-14 22:32     ` Christoph Hellwig

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.