在 2008-08-29五的 09:14 +0530,Aneesh Kumar K.V写道: > On Thu, Aug 28, 2008 at 02:57:49PM -0700, Mingming Cao wrote: > > > > From: Mingming Cao <cmm@xxxxxxxxxx> > > > > ext4: Fix ext4 nomballoc allocator for ENOSPC > > > > We run into ENOSPC error on nonmballoc ext4, even when there is free blocks > > on the filesystem. > > > > The problem is triggered in the case the goal block group has 0 free blocks > > , and the rest block groups are skipped due to the check of "free_blocks > > < windowsz/2". > > The goal block group had free blocks < windowsz . > Hmm, if the goal block group had free blocks, why allocation failed (reservation is turned off by setting my_rsv as NULL)? I wonder if there is other threads trying to allocating in the same goal block group at the same time, steal the last free blocks? Mingming -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html