Re: [PATCH V20 04/19] Btrfs: subpage-blocksize: Define extent_buffer_head

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday, July 26, 2016 01:42:08 PM Josef Bacik wrote:
> On 07/04/2016 12:34 AM, Chandan Rajendra wrote:
> > In order to handle multiple extent buffers per page, first we need to create a
> > way to handle all the extent buffers that are attached to a page.
> >
> > This patch creates a new data structure 'struct extent_buffer_head', and moves
> > fields that are common to all extent buffers from 'struct extent_buffer' to
> > 'struct extent_buffer_head'
> >
> > Also, this patch moves EXTENT_BUFFER_TREE_REF, EXTENT_BUFFER_DUMMY and
> > EXTENT_BUFFER_IN_TREE flags from extent_buffer->ebflags  to
> > extent_buffer_head->bflags.
> >
> > Reviewed-by: Liu Bo <bo.li.liu@xxxxxxxxxx>
> > Signed-off-by: Chandan Rajendra <chandan@xxxxxxxxxxxxxxxxxx>
> 
> I'm sorry Chandan I'm still having problems with this one.  XFS kmalloc()'s its 
> sub pagesize ranges for it's metadata buffers, how about we do that instead of 
> doing the extent_buffer_head.  Look at xfs_buf_allocate_memory() for what I'm 
> thinking.  Thanks,
> 

Ok. I will look into the xfs metadata buffer allocation code. Thanks for the
guidance.

-- 
chandan

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux