Re: [PATCH v3 0/5] btrfs: remove buffer heads form superblock handling

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

 



On 30/01/2020 14:39, Christoph Hellwig wrote:
> On Thu, Jan 30, 2020 at 01:15:30PM +0100, David Sterba wrote:
>>> Sure but with hch's proposed change to using read_cache_page_gfp() this
>>> doesn't make too much sense anymore at least for the read path.
>>>
>>> Maybe "use page cache for superblock reading"?
>>
>> That works too. We might need a new iteration that summarizes up all the
>> feedback so far, so we have same code to refer to.
> 
> Per my question on the second patch:  why even use the page cache at
> all.  btrfs already caches the value outside the pagecache, so why
> even bother with the page cache overhead?
> 
This is what my first version did, alloc_page() and submit_bio() 
directly [1]. But reviewers told me to go the route via page cache.

[1] 
https://lore.kernel.org/linux-btrfs/20200117125105.20989-1-johannes.thumshirn@xxxxxxx/




[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