Re: [PATCH] f2fs: fix to redirty page if fail to gc data page
From: Jaegeuk Kim
Date: Fri Jun 03 2016 - 13:37:03 EST
On Fri, Jun 03, 2016 at 01:59:15PM +0800, Chao Yu wrote:
...
> >>> Do we have another expectation?
> >>
> >> ENOMEM or EIO?
> >
> > EIO will stop everything.
> > ENOMEM would be better to wait for a while from page reclaim?
>
> Agree, but for ioctl path, IMO, we don't need to let user waiting for ENOMEM
> case looping.
Well, if user wanted to do a synchronous gc, we need that, IMO.