[patch 4/5] btrfs: add nofail variant of set_extent_dirty

2010-08-24 Thread David Rientjes
Add set_extent_dirty_nofail(). This function is equivalent to set_extent_dirty(), except that it will never fail because of allocation failure and instead loop forever trying to allocate memory. If the first allocation attempt fails, a warning will be emitted, including a call trace. Subsequent

Re: [patch 4/5] btrfs: add nofail variant of set_extent_dirty

2010-08-24 Thread Peter Zijlstra
On Tue, 2010-08-24 at 03:50 -0700, David Rientjes wrote: Add set_extent_dirty_nofail(). This function is equivalent to set_extent_dirty(), except that it will never fail because of allocation failure and instead loop forever trying to allocate memory. If the first allocation attempt fails,