On Mon, Apr 06, 2009 at 07:57:48PM -0500, Felix Blyakher wrote: > Shouldn't we set error to ENOMEM here? Yes, good catch. > Should the callers be taught to handle ENOMEM now? The kernel callchain handles it, and in userspace the only caller (xfs_io) will handled it by printing an out of memory message.