Re: [Question] Two variants of SB reads can we move into bio read instead ?

2017-12-12 Thread David Sterba
On Fri, Dec 08, 2017 at 06:27:10PM +0800, Anand Jain wrote: > > David, > > There are two variants of SB read, one using the device cache [1] > and the other buffer head [2]. > > [1] btrfs_read_disk_super() > [2] btrfs_read_dev_super() > > Patch,

Re: [Question] Two variants of SB reads can we move into bio read instead ?

2017-12-08 Thread Nikolay Borisov
On 8.12.2017 12:27, Anand Jain wrote: > > David, > >  There are two variants of SB read, one using the device cache [1] >  and the other buffer head [2]. > >  [1] btrfs_read_disk_super() >  [2] btrfs_read_dev_super() > >  Patch, 6f60cbd3ae442cb35861bb522f388db123d42ec1 >   (btrfs: access

[Question] Two variants of SB reads can we move into bio read instead ?

2017-12-08 Thread Anand Jain
David, There are two variants of SB read, one using the device cache [1] and the other buffer head [2]. [1] btrfs_read_disk_super() [2] btrfs_read_dev_super() Patch, 6f60cbd3ae442cb35861bb522f388db123d42ec1 (btrfs: access superblock via pagecache in scan_one_device) Embraced device