Re: [PATCH RESEND V12 1/8] fs: Generic function to convert iocb to rw flags

2021-03-24 Thread Rokudo Yan
On 1/26/21 12:46 AM, Alessio Balsini wrote: On Mon, Jan 25, 2021 at 03:30:50PM +, Alessio Balsini wrote: OverlayFS implements its own function to translate iocb flags into rw flags, so that they can be passed into another vfs call. With commit ce71bfea207b4 ("fs: align IOCB_* flags with

Re: [PATCH RESEND V11 0/7] fuse: Add support for passthrough read/write

2021-01-19 Thread Rokudo Yan
on Mon, Jan 18, 2021 at 5:27 PM Alessio Balsini wrote: > > This is the 11th version of the series, rebased on top of v5.11-rc4. > Please find the changelog at the bottom of this cover letter. > > Add support for file system passthrough read/write of files when enabled > in userspace through the

[PATCH] mm, compaction: move high_pfn to the for loop scope.

2021-01-17 Thread Rokudo Yan
rea, which ensure freepage and freelist match when call move_freelist_head in fast_isolate_freepages(). Fixes: 5a811889de10f1eb ("mm, compaction: use free lists to quickly locate a migration target") Signed-off-by: Rokudo Yan --- mm/compaction.c | 3 ++- 1 file changed, 2 ins

[PATCH] mm, compaction: move high_pfn to the for loop scope.

2021-01-12 Thread Rokudo Yan
In fast_isolate_freepages, high_pfn will be used if a prefered one(PFN >= low_fn) not found. But the high_pfn is not reset before searching an free area, so when it was used as freepage, it may from another free area searched before. And move_freelist_head(freelist, freepage) will have

[PATCH] mm, compaction: make sure we isolate a valid freepage when high_pfn is used

2021-01-11 Thread Rokudo Yan
In fast_isolate_freepages, high_pfn will be used if a prefered one(PFN >= low_fn) not found. But the high_pfn is not reset before searching an free area, so when it was used as freepage, it may from another free area searched before. And move_freelist_head(freelist, freepage) will have