login
Header Space

 
 

Re: [RFC PATCH 0/2] Union Mount: Directory listing in glibc

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <hooanon05@...>
Cc: <bsn.0007@...>, <libc-alpha@...>, Erez Zadok <ezk@...>, <linux-kernel@...>, <linux-fsdevel@...>, <viro@...>, Christoph Hellwig <hch@...>, Ulrich Drepper <drepper@...>, Mingming Cao <cmm@...>, Dave Hansen <haveblue@...>, Trond Myklebust <trond.myklebust@...>, <bharata@...>, David Woodhouse <dwmw2@...>
Date: Tuesday, April 29, 2008 - 12:12 pm

On Wed, Apr 30, hooanon05@yahoo.co.jp wrote:


For rmdir it is simple: the filesystem that supports whiteouts must know how
to get rid of them again. Since it knows how the whiteouts are implemented it
can do that in an optimized fashion.

The rename story is somehow different. A union directory consists of multiple
directories on different filesystem. Since rename syscall is only working on
one filesystem the rename is crossing devices. Therefore I return -EXDEV. Not
very efficient but really simple. At least this is how my patches implement it.

Regards,
	Jan

-- 
Jan Blunck <jblunck@suse.de>
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [RFC PATCH 0/2] Union Mount: Directory listing in glibc, Jan Blunck, (Tue Apr 29, 12:12 pm)
Re: [RFC PATCH 1/2] Union Mount: glibc readdir support, Ulrich Drepper, (Thu May 1, 2:08 am)
Re: [RFC PATCH 1/2] Union Mount: glibc readdir support, Bharata B Rao, (Tue May 6, 12:21 am)
Re: [RFC PATCH 1/2] Union Mount: glibc readdir support, David Newall, (Tue May 6, 9:10 am)
Re: [RFC PATCH 1/2] Union Mount: glibc readdir support, Bharata B Rao, (Sun May 11, 11:43 pm)
speck-geostationary