[PATCH 0/2] Fix ENOSPC regression

Josef Bacik
Tue, 07 Jun 2011 20:44:07 -0000

Sergei accidently introduced a regression with

c4f675cd40d955d539180506c09515c90169b15b

The problem isn''t his patch, it''s that we are entirely too
touchy to changes in
this area because the way we deal with pressure is racy in general.  The other
problem is even though delalloc bytes are 0, we still may not have reclaimed
space, rather we need to wait for the ordered extents to reclaim the space.  So
this patch set does that and it serialize the flushers to close this race
we''ve
always had.  This fixes normal enospc cases we were seeing.  Thanks,

Josef