Messages in this thread | | | Date | Wed, 31 Jul 2019 09:47:16 +1000 | From | Dave Chinner <> | Subject | Re: [PATCH] ext4: Fix deadlock on page reclaim |
| |
On Tue, Jul 30, 2019 at 02:06:33AM +0000, Damien Le Moal wrote: > If we had a pread_nofs()/pwrite_nofs(), that would work. Or we could define a > RWF_NORECLAIM flag for pwritev2()/preadv2(). This last one could actually be the > cleanest approach.
Clean, yes, but I'm not sure we want to expose kernel memory reclaim capabilities to userspace... It would be misleading, too, because we still want to allow reclaim to occur, just not have reclaim recurse into other filesystems....
Cheers,
Dave. -- Dave Chinner david@fromorbit.com
| |