linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* rm: cannot remove `???': No such file or directory
@ 2008-11-24 14:14 Arturas K
  2008-11-24 18:26 ` Eric Sandeen
  2008-11-25  6:35 ` Theodore Tso
  0 siblings, 2 replies; 7+ messages in thread
From: Arturas K @ 2008-11-24 14:14 UTC (permalink / raw)
  To: linux-ext4

hello,

I did a simple/dirty benchmark on multiple file systems, and ext4dev 
encounters some problems recursively removing linux tree... tested with 
default and multiple altered option sets of mkfs.ext4dev and/or mount 
options - the same story :(

I guess there are locks on files where modification is committed to fs, 
but not yet flushed to disk or something like this. anyway this behavior 
is fatal for any temporary file operations...

--- test output ---

> ~# ( cd /srv ; time ( tar xf /tmp/linux-2.6.26.tar && sync ) ) && ( cd /srv/linux-2.6.26 ; time ( cat /tmp/patch-2.6.27 | patch -p1 > ./log && sync ) ) && ( cd /srv ; time ( rm -R linux-2.6.26 && sync ) )
> 
> real	0m9.515s
> user	0m0.112s
> sys	0m1.536s
> 
> real	0m11.752s
> user	0m2.680s
> sys	0m2.868s
> rm: cannot remove `linux-2.6.26/arch/powerpc/include/asm/bug.h': No such file or directory
> rm: cannot remove `linux-2.6.26/arch/alpha/include/asm/fb.h': No such file or directory
> rm: cannot remove `linux-2.6.26/arch/s390/include/asm/irq_regs.h': No such file or directory
> rm: cannot remove `linux-2.6.26/arch/sparc/include/asm/mmu.h': No such file or directory
> rm: cannot remove `linux-2.6.26/arch/sparc/include/asm/openprom_32.h': No such file or directory
> rm: cannot remove `linux-2.6.26/arch/arm/configs/ateb9200_defconfig': No such file or directory
> rm: cannot remove `linux-2.6.26/arch/m68knommu/include/asm/scatterlist.h': No such file or directory
> rm: cannot remove `linux-2.6.26/include/asm-um/irq_vectors.h': No such file or directory
> rm: cannot remove `linux-2.6.26/include/asm-m68k/virtconvert.h': No such file or directory
> rm: cannot remove `linux-2.6.26/include/linux/hrtimer.h': No such file or directory
> rm: cannot remove `linux-2.6.26/include/linux/hardirq.h': No such file or directory
> rm: cannot remove `linux-2.6.26/include/linux/crc32c.h': No such file or directory
> 
> real	0m0.721s
> user	0m0.012s
> sys	0m0.708s

--- system ---

ubuntu 8.10 amd64

 > ~# dpkg -l | grep linux-image-2.6.27
 > ii  linux-image-2.6.27-7-generic 2.6.27-7.16
 > ~# dpkg -l | grep e2fs
 > ii  e2fslibs 1.41.3-1ubuntu1
 > ii  e2fsprogs 1.41.3-1ubuntu1

---
ArturasK.

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

* Re: rm: cannot remove `???': No such file or directory
  2008-11-24 14:14 rm: cannot remove `???': No such file or directory Arturas K
@ 2008-11-24 18:26 ` Eric Sandeen
  2008-11-24 18:29   ` Curt Wohlgemuth
  2008-11-25  6:35 ` Theodore Tso
  1 sibling, 1 reply; 7+ messages in thread
From: Eric Sandeen @ 2008-11-24 18:26 UTC (permalink / raw)
  To: Arturas K; +Cc: linux-ext4

Arturas K wrote:
> hello,
> 
> I did a simple/dirty benchmark on multiple file systems, and ext4dev 
> encounters some problems recursively removing linux tree... tested with 
> default and multiple altered option sets of mkfs.ext4dev and/or mount 
> options - the same story :(
> 
> I guess there are locks on files where modification is committed to fs, 
> but not yet flushed to disk or something like this. anyway this behavior 
> is fatal for any temporary file operations...

This might be fixed by the patch that just showed up on the list today :)

--- fwd ---

PATCH ext4: fix to call_filldir

I happened to find a bug running bonnie++-1.03a on an ext4 filesystem,
when it complained about not being able to remove a file.

Further investigation showed a problem with call_filldir(), which is not
quite correct with respect to the same function in fs/ext3/dir.c.  The
patch below fixes this problem.

---

-Eric

> --- test output ---
> 
>> ~# ( cd /srv ; time ( tar xf /tmp/linux-2.6.26.tar && sync ) ) && ( cd /srv/linux-2.6.26 ; time ( cat /tmp/patch-2.6.27 | patch -p1 > ./log && sync ) ) && ( cd /srv ; time ( rm -R linux-2.6.26 && sync ) )
>>
>> real	0m9.515s
>> user	0m0.112s
>> sys	0m1.536s
>>
>> real	0m11.752s
>> user	0m2.680s
>> sys	0m2.868s
>> rm: cannot remove `linux-2.6.26/arch/powerpc/include/asm/bug.h': No such file or directory
>> rm: cannot remove `linux-2.6.26/arch/alpha/include/asm/fb.h': No such file or directory
>> rm: cannot remove `linux-2.6.26/arch/s390/include/asm/irq_regs.h': No such file or directory
>> rm: cannot remove `linux-2.6.26/arch/sparc/include/asm/mmu.h': No such file or directory
>> rm: cannot remove `linux-2.6.26/arch/sparc/include/asm/openprom_32.h': No such file or directory
>> rm: cannot remove `linux-2.6.26/arch/arm/configs/ateb9200_defconfig': No such file or directory
>> rm: cannot remove `linux-2.6.26/arch/m68knommu/include/asm/scatterlist.h': No such file or directory
>> rm: cannot remove `linux-2.6.26/include/asm-um/irq_vectors.h': No such file or directory
>> rm: cannot remove `linux-2.6.26/include/asm-m68k/virtconvert.h': No such file or directory
>> rm: cannot remove `linux-2.6.26/include/linux/hrtimer.h': No such file or directory
>> rm: cannot remove `linux-2.6.26/include/linux/hardirq.h': No such file or directory
>> rm: cannot remove `linux-2.6.26/include/linux/crc32c.h': No such file or directory
>>
>> real	0m0.721s
>> user	0m0.012s
>> sys	0m0.708s
> 
> --- system ---
> 
> ubuntu 8.10 amd64
> 
>  > ~# dpkg -l | grep linux-image-2.6.27
>  > ii  linux-image-2.6.27-7-generic 2.6.27-7.16
>  > ~# dpkg -l | grep e2fs
>  > ii  e2fslibs 1.41.3-1ubuntu1
>  > ii  e2fsprogs 1.41.3-1ubuntu1
> 
> ---
> ArturasK.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


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

* Re: rm: cannot remove `???': No such file or directory
  2008-11-24 18:26 ` Eric Sandeen
@ 2008-11-24 18:29   ` Curt Wohlgemuth
  0 siblings, 0 replies; 7+ messages in thread
From: Curt Wohlgemuth @ 2008-11-24 18:29 UTC (permalink / raw)
  To: Eric Sandeen; +Cc: Arturas K, linux-ext4

I was thinking the same, but wasn't able to test it first...

Curt

On Mon, Nov 24, 2008 at 10:26 AM, Eric Sandeen <sandeen@redhat.com> wrote:
> Arturas K wrote:
>> hello,
>>
>> I did a simple/dirty benchmark on multiple file systems, and ext4dev
>> encounters some problems recursively removing linux tree... tested with
>> default and multiple altered option sets of mkfs.ext4dev and/or mount
>> options - the same story :(
>>
>> I guess there are locks on files where modification is committed to fs,
>> but not yet flushed to disk or something like this. anyway this behavior
>> is fatal for any temporary file operations...
>
> This might be fixed by the patch that just showed up on the list today :)
>
> --- fwd ---
>
> PATCH ext4: fix to call_filldir
>
> I happened to find a bug running bonnie++-1.03a on an ext4 filesystem,
> when it complained about not being able to remove a file.
>
> Further investigation showed a problem with call_filldir(), which is not
> quite correct with respect to the same function in fs/ext3/dir.c.  The
> patch below fixes this problem.
>
> ---
>
> -Eric
>
>> --- test output ---
>>
>>> ~# ( cd /srv ; time ( tar xf /tmp/linux-2.6.26.tar && sync ) ) && ( cd /srv/linux-2.6.26 ; time ( cat /tmp/patch-2.6.27 | patch -p1 > ./log && sync ) ) && ( cd /srv ; time ( rm -R linux-2.6.26 && sync ) )
>>>
>>> real 0m9.515s
>>> user 0m0.112s
>>> sys  0m1.536s
>>>
>>> real 0m11.752s
>>> user 0m2.680s
>>> sys  0m2.868s
>>> rm: cannot remove `linux-2.6.26/arch/powerpc/include/asm/bug.h': No such file or directory
>>> rm: cannot remove `linux-2.6.26/arch/alpha/include/asm/fb.h': No such file or directory
>>> rm: cannot remove `linux-2.6.26/arch/s390/include/asm/irq_regs.h': No such file or directory
>>> rm: cannot remove `linux-2.6.26/arch/sparc/include/asm/mmu.h': No such file or directory
>>> rm: cannot remove `linux-2.6.26/arch/sparc/include/asm/openprom_32.h': No such file or directory
>>> rm: cannot remove `linux-2.6.26/arch/arm/configs/ateb9200_defconfig': No such file or directory
>>> rm: cannot remove `linux-2.6.26/arch/m68knommu/include/asm/scatterlist.h': No such file or directory
>>> rm: cannot remove `linux-2.6.26/include/asm-um/irq_vectors.h': No such file or directory
>>> rm: cannot remove `linux-2.6.26/include/asm-m68k/virtconvert.h': No such file or directory
>>> rm: cannot remove `linux-2.6.26/include/linux/hrtimer.h': No such file or directory
>>> rm: cannot remove `linux-2.6.26/include/linux/hardirq.h': No such file or directory
>>> rm: cannot remove `linux-2.6.26/include/linux/crc32c.h': No such file or directory
>>>
>>> real 0m0.721s
>>> user 0m0.012s
>>> sys  0m0.708s
>>
>> --- system ---
>>
>> ubuntu 8.10 amd64
>>
>>  > ~# dpkg -l | grep linux-image-2.6.27
>>  > ii  linux-image-2.6.27-7-generic 2.6.27-7.16
>>  > ~# dpkg -l | grep e2fs
>>  > ii  e2fslibs 1.41.3-1ubuntu1
>>  > ii  e2fsprogs 1.41.3-1ubuntu1
>>
>> ---
>> ArturasK.
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

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

* Re: rm: cannot remove `???': No such file or directory
  2008-11-24 14:14 rm: cannot remove `???': No such file or directory Arturas K
  2008-11-24 18:26 ` Eric Sandeen
@ 2008-11-25  6:35 ` Theodore Tso
  2008-11-25  9:50   ` Arturas K
  1 sibling, 1 reply; 7+ messages in thread
From: Theodore Tso @ 2008-11-25  6:35 UTC (permalink / raw)
  To: Arturas K; +Cc: linux-ext4

On Mon, Nov 24, 2008 at 04:14:29PM +0200, Arturas K wrote:
> hello,
>
> I did a simple/dirty benchmark on multiple file systems, and ext4dev  
> encounters some problems recursively removing linux tree... tested with  
> default and multiple altered option sets of mkfs.ext4dev and/or mount  
> options - the same story :(

What kernel version were you using?

							- Ted

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

* Re: rm: cannot remove `???': No such file or directory
  2008-11-25  6:35 ` Theodore Tso
@ 2008-11-25  9:50   ` Arturas K
  2008-11-25 20:28     ` Theodore Tso
  0 siblings, 1 reply; 7+ messages in thread
From: Arturas K @ 2008-11-25  9:50 UTC (permalink / raw)
  To: Theodore Tso; +Cc: linux-ext4

Theodore Tso wrote:
> On Mon, Nov 24, 2008 at 04:14:29PM +0200, Arturas K wrote:
>> hello,
>>
>> I did a simple/dirty benchmark on multiple file systems, and ext4dev  
>> encounters some problems recursively removing linux tree... tested with  
>> default and multiple altered option sets of mkfs.ext4dev and/or mount  
>> options - the same story :(
> 
> What kernel version were you using?
> 
> 							- Ted

hi,

as I written before:

--- system ---

ubuntu 8.10 amd64

 > ~# dpkg -l | grep linux-image-2.6.27
 > ii  linux-image-2.6.27-7-generic 2.6.27-7.16
 > ~# dpkg -l | grep e2fs
 > ii  e2fslibs 1.41.3-1ubuntu1
 > ii  e2fsprogs 1.41.3-1ubuntu1

---
ArturasK.

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

* Re: rm: cannot remove `???': No such file or directory
  2008-11-25  9:50   ` Arturas K
@ 2008-11-25 20:28     ` Theodore Tso
  2008-11-26  9:47       ` Arturas K
  0 siblings, 1 reply; 7+ messages in thread
From: Theodore Tso @ 2008-11-25 20:28 UTC (permalink / raw)
  To: Arturas K; +Cc: linux-ext4

On Tue, Nov 25, 2008 at 11:50:46AM +0200, Arturas K wrote:
> as I written before:

Sorry I missed that before.  Yeah, known problem, fixed in git commit
3c37fc86 in the 2.6.28-rc development cycle.  The patch has been
queued to the stable kernel maintainers for inclusion in an upcoming
2.6.27.y release, but it hasn't made it out yet.  I can file a request
to include a set of patches into a future Ubuntu kernel update, but I
don't know how quickly Ubuntu will push out a new kernel.

      	       	       	      	   	    - Ted

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

* Re: rm: cannot remove `???': No such file or directory
  2008-11-25 20:28     ` Theodore Tso
@ 2008-11-26  9:47       ` Arturas K
  0 siblings, 0 replies; 7+ messages in thread
From: Arturas K @ 2008-11-26  9:47 UTC (permalink / raw)
  To: Theodore Tso; +Cc: linux-ext4

Theodore Tso wrote:
> On Tue, Nov 25, 2008 at 11:50:46AM +0200, Arturas K wrote:
>> as I written before:
> 
> Sorry I missed that before.  Yeah, known problem, fixed in git commit
> 3c37fc86 in the 2.6.28-rc development cycle.  The patch has been
> queued to the stable kernel maintainers for inclusion in an upcoming
> 2.6.27.y release, but it hasn't made it out yet.  I can file a request
> to include a set of patches into a future Ubuntu kernel update, but I
> don't know how quickly Ubuntu will push out a new kernel.
> 
>       	       	       	      	   	    - Ted

hello,

I tested 2.6.28-rc6 - problem gone :D

it would be grate if you filed appropriate bug for ubuntu. updated 
ubuntu kernel will follow at worst than more bugs acumulate

---
ArturasK.

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

end of thread, other threads:[~2008-11-26  9:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-24 14:14 rm: cannot remove `???': No such file or directory Arturas K
2008-11-24 18:26 ` Eric Sandeen
2008-11-24 18:29   ` Curt Wohlgemuth
2008-11-25  6:35 ` Theodore Tso
2008-11-25  9:50   ` Arturas K
2008-11-25 20:28     ` Theodore Tso
2008-11-26  9:47       ` Arturas K

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).