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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jan Blunck
Date: Tuesday, April 29, 2008 - 9:12 am

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>
--
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, 9:12 am)
Re: [RFC PATCH 0/2] Union Mount: Directory listing in glibc, NAGABHUSHAN BS, (Tue Apr 29, 11:07 pm)
Re: [RFC PATCH 0/2] Union Mount: Directory listing in glibc, NAGABHUSHAN BS, (Tue Apr 29, 11:18 pm)
Re: [RFC PATCH 1/2] Union Mount: glibc readdir support, Ulrich Drepper, (Wed Apr 30, 11:08 pm)
Re: [RFC PATCH 1/2] Union Mount: glibc readdir support, Bharata B Rao, (Mon May 5, 9:21 pm)
Re: [RFC PATCH 1/2] Union Mount: glibc readdir support, David Newall, (Tue May 6, 6:10 am)
Re: [RFC PATCH 1/2] Union Mount: glibc readdir support, Bharata B Rao, (Sun May 11, 8:43 pm)