Re: [RFC PATCH V2 0/9] Introduce attach/clear_page_private to cleanup code

2020-05-02 Thread Guoqing Jiang
On 5/2/20 2:41 AM, Matthew Wilcox wrote: On Sat, May 02, 2020 at 12:42:15AM +0200, Guoqing Jiang wrote: On 5/2/20 12:16 AM, Matthew Wilcox wrote: On Thu, Apr 30, 2020 at 11:44:41PM +0200, Guoqing Jiang wrote: include/linux/pagemap.h: introduce attach/clear_page_private md: remove __cle

Re: [RFC PATCH V2 0/9] Introduce attach/clear_page_private to cleanup code

2020-05-01 Thread Matthew Wilcox
On Sat, May 02, 2020 at 12:42:15AM +0200, Guoqing Jiang wrote: > On 5/2/20 12:16 AM, Matthew Wilcox wrote: > > On Thu, Apr 30, 2020 at 11:44:41PM +0200, Guoqing Jiang wrote: > > >include/linux/pagemap.h: introduce attach/clear_page_private > > >md: remove __clear_page_buffers and use attach

Re: [RFC PATCH V2 0/9] Introduce attach/clear_page_private to cleanup code

2020-05-01 Thread Guoqing Jiang
On 5/2/20 12:16 AM, Matthew Wilcox wrote: On Thu, Apr 30, 2020 at 11:44:41PM +0200, Guoqing Jiang wrote: include/linux/pagemap.h: introduce attach/clear_page_private md: remove __clear_page_buffers and use attach/clear_page_private btrfs: use attach/clear_page_private fs/buffer.c: us

Re: [RFC PATCH V2 0/9] Introduce attach/clear_page_private to cleanup code

2020-05-01 Thread Matthew Wilcox
On Thu, Apr 30, 2020 at 11:44:41PM +0200, Guoqing Jiang wrote: > include/linux/pagemap.h: introduce attach/clear_page_private > md: remove __clear_page_buffers and use attach/clear_page_private > btrfs: use attach/clear_page_private > fs/buffer.c: use attach/clear_page_private > f2fs: use

[RFC PATCH V2 0/9] Introduce attach/clear_page_private to cleanup code

2020-04-30 Thread Guoqing Jiang
Hi, Based on the previous thread [1], this patchset introduces attach_page_private and clear_page_private to replace attach_page_buffers and __clear_page_buffers. Thanks a lot for the constructive suggestions and comments from Christoph, Matthew and Dave. And sorry for cross post to different lis