Re: Re: [PATCH] bcache: add a separate open bucket list for flash devices

2017-11-21 Thread tang . junhui
From: Tang Junhui Hello Coly, Kent > Correct me if I am wrong. I guess the reason why you care about flash > only volume is because ceph users use flash only volume to store some > metadata only on SSD ? Yes, we store ceph metadata in flash only volume and object data

Re: [PATCH] bcache: add a separate open bucket list for flash devices

2017-11-21 Thread Kent Overstreet
On Tue, Nov 21, 2017 at 10:48:27PM +0800, Coly Li wrote: > On 21/11/2017 6:57 PM, Kent Overstreet wrote: > > On Tue, Nov 21, 2017 at 06:50:32PM +0800, tang.jun...@zte.com.cn wrote: > >> From: Tang Junhui > >> > >> Currently in pick_data_bucket(), though we keep multiple

Re: [PATCH] bcache: add a separate open bucket list for flash devices

2017-11-21 Thread Coly Li
On 21/11/2017 6:57 PM, Kent Overstreet wrote: > On Tue, Nov 21, 2017 at 06:50:32PM +0800, tang.jun...@zte.com.cn wrote: >> From: Tang Junhui >> >> Currently in pick_data_bucket(), though we keep multiple buckets open >> for writes, and try to segregate different write

Re: Re: [PATCH] bcache: add a separate open bucket list for flash devices

2017-11-21 Thread tang . junhui
From: Tang Junhui On Tue, Nov 21, 2017 at 06:50:32PM +0800, tang.jun...@zte.com.cn wrote: > > From: Tang Junhui > > > > Currently in pick_data_bucket(), though we keep multiple buckets open > > for writes, and try to segregate different write

Re: [PATCH] bcache: add a separate open bucket list for flash devices

2017-11-21 Thread Kent Overstreet
On Tue, Nov 21, 2017 at 06:50:32PM +0800, tang.jun...@zte.com.cn wrote: > From: Tang Junhui > > Currently in pick_data_bucket(), though we keep multiple buckets open > for writes, and try to segregate different write streams for better > cache utilization: first we look