[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: ext3 behaviour when no space on disk
- From: Andrew Morton <akpm zip com au>
- To: Andreas Dilger <adilger clusterfs com>
- Cc: Duncan Sands <duncan sands wanadoo fr>, ext3-users redhat com
- Subject: Re: ext3 behaviour when no space on disk
- Date: Mon, 03 Jun 2002 16:06:45 -0700
Andreas Dilger wrote:
>
> On Jun 03, 2002 23:04 +0200, Duncan Sands wrote:
> > While compiling two kernels and untarring a third, my root fs was remounted
> > r/w and I got the following in dmesg (kernel 2.4.19-pre9):
> ^^^ r/o I presume...
>
> > EXT3-fs error (device ide0(3,2)) in ext3_new_inode: error 28
> > Aborting journal on device ide0(3,2).
> > ext3_abort called
>
> This is a known error, and I thought a fix was submitted by Andrew
> and/or Stephen. It should not cause a filesystem error just because
> the filesystem was full.
Memory fails me... But no, we shouldn't be treating ENOSPC in that
manner. How about this?
--- linux-2.5.20/fs/ext3/ialloc.c Wed May 29 12:48:15 2002
+++ 25/fs/ext3/ialloc.c Mon Jun 3 16:05:36 2002
@@ -534,7 +534,8 @@ repeat:
fail:
unlock_super(sb);
iput(inode);
- ext3_std_error(sb, err);
+ if (err != -ENOSPC)
+ ext3_std_error(sb, err);
return ERR_PTR(err);
}
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]