Re: [PATCH] fs: buffer: Modify alloc_page_buffers.

2017-06-23 Thread Sean Fu
On Mon, Jun 19, 2017 at 05:03:16PM +0100, Al Viro wrote: > On Mon, Jun 19, 2017 at 09:01:36PM +0800, Sean Fu wrote: > > Make alloc_page_buffers support circular buffer list and initialise > > b_state field. > > Optimize the performance by removing the buffer list traversal to create > > circular bu

Re: [PATCH] fs: buffer: Modify alloc_page_buffers.

2017-06-21 Thread Sean Fu
On Mon, Jun 19, 2017 at 05:03:16PM +0100, Al Viro wrote: > On Mon, Jun 19, 2017 at 09:01:36PM +0800, Sean Fu wrote: > > Make alloc_page_buffers support circular buffer list and initialise > > b_state field. > > Optimize the performance by removing the buffer list traversal to create > > circular bu

Re: [PATCH] fs: buffer: Modify alloc_page_buffers.

2017-06-19 Thread kbuild test robot
Hi Sean, [auto build test WARNING on linus/master] [also build test WARNING on v4.12-rc6 next-20170619] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Sean-Fu/fs-buffer-Modify-alloc_page_buffers

Re: [PATCH] fs: buffer: Modify alloc_page_buffers.

2017-06-19 Thread Al Viro
On Mon, Jun 19, 2017 at 09:01:36PM +0800, Sean Fu wrote: > Make alloc_page_buffers support circular buffer list and initialise > b_state field. > Optimize the performance by removing the buffer list traversal to create > circular buffer list. > - bh = head = alloc_page_buffers(page, bl

Re: [PATCH] fs: buffer: Modify alloc_page_buffers.

2017-06-19 Thread Jan Kara
On Mon 19-06-17 21:01:36, Sean Fu wrote: > Make alloc_page_buffers support circular buffer list and initialise > b_state field. > Optimize the performance by removing the buffer list traversal to create > circular buffer list. > > Signed-off-by: Sean Fu IMHO this has unmeasurable performance gai

[PATCH] fs: buffer: Modify alloc_page_buffers.

2017-06-19 Thread Sean Fu
Make alloc_page_buffers support circular buffer list and initialise b_state field. Optimize the performance by removing the buffer list traversal to create circular buffer list. Signed-off-by: Sean Fu --- drivers/md/bitmap.c | 2 +- fs/buffer.c | 37 +++--