Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750747AbVJ0Mxq (ORCPT ); Thu, 27 Oct 2005 08:53:46 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750743AbVJ0Mxq (ORCPT ); Thu, 27 Oct 2005 08:53:46 -0400 Received: from 238-193.adsl.pool.ew.hu ([193.226.238.193]:32780 "EHLO dorka.pomaz.szeredi.hu") by vger.kernel.org with ESMTP id S1750735AbVJ0Mxp (ORCPT ); Thu, 27 Oct 2005 08:53:45 -0400 To: trond.myklebust@fys.uio.no CC: bulb@ucw.cz, viro@ftp.linux.org.uk, akpm@osdl.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org In-reply-to: <1130416523.14036.6.camel@lade.trondhjem.org> (message from Trond Myklebust on Thu, 27 Oct 2005 08:35:23 -0400) Subject: Re: [PATCH 2/8] VFS: per inode statfs (core) References: <20051025042519.GJ7992@ftp.linux.org.uk> <20051026173150.GB11769@efreet.light.src> <20051026195240.GB15046@efreet.light.src> <20051027080713.GA25460@djinn> <1130416523.14036.6.camel@lade.trondhjem.org> Message-Id: From: Miklos Szeredi Date: Thu, 27 Oct 2005 14:53:01 +0200 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1018 Lines: 26 > > Yes, possibility for finding out where subfilesystems are located > > _will_ be missing for such filesystems as sshfs. > > Why? Can't lookup() notice the change in remote st_dev as you cross the > filesystem boundary? a) sftp is path based protocol, there's no separate lookup b) sftp doesn't transfer st_ino or st_dev, they are both made up on the client side > For NFS the plan is to automatically submount such remote > subfilesystems. That fixes a host of problems including the one that you > mention w.r.t. statfs, the problem of potential duplicate inode numbers, > etc. That is fine. It's clearly a superior sulution when the info is available. With sshfs the server simply doesn't care about mounts, and so this is basically out of the question. Miklos - 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/