[f2fs-dev] [PATCH] f2fs: don't wait writeback for datas during checkpoint

2016-11-10 Thread Chao Yu
Normally, while committing checkpoint, we will wait on all pages to be writebacked no matter the page is data or metadata, so in scenario where there are lots of data IO being submitted with metadata, we may suffer long latency for waiting writeback during checkpoint. Indeed, we only care about pe

Re: [f2fs-dev] [PATCH] f2fs: support multiple devices

2016-11-10 Thread Austin S. Hemmelgarn
On 2016-11-09 21:29, Qu Wenruo wrote: > > > At 11/10/2016 06:57 AM, Andreas Dilger wrote: >> On Nov 9, 2016, at 1:56 PM, Jaegeuk Kim wrote: >>> >>> This patch implements multiple devices support for f2fs. >>> Given multiple devices by mkfs.f2fs, f2fs shows them entirely as one big >>> volume under

Re: [f2fs-dev] [PATCH 00/60] block: support multipage bvec

2016-11-10 Thread Ming Lei
On Mon, Oct 31, 2016 at 11:25 PM, Christoph Hellwig wrote: > Hi Ming, > > can you send a first patch just doing the obvious cleanups like > converting to bio_add_page and replacing direct poking into the > bio with the proper accessors? That should help reducing the OK, that is just the 1st part

Re: [f2fs-dev] [PATCH 1/2] fscrypto: don't use on-stack buffer for filename encryption

2016-11-10 Thread Christoph Hellwig
On Sat, Nov 05, 2016 at 07:13:49AM -0800, Kent Overstreet wrote: > Vmalloc memory does have struct pages - you just need to use vmalloc_to_page() > instead of virt_to_page. Look at drivers/md/bcache/util.c bch_bio_map() if you > want an example. That example seems to be clearly broken on virtually

Re: [f2fs-dev] [PATCH] f2fs: support multiple devices

2016-11-10 Thread Anand Jain
(this is deviating from the subject, sorry about that) > Pretty much, if you're using just raid1 mode, without > compression, on reasonable storage devices, things are rock-solid > relative to the rest of BTRFS. IMO, BTRFS volume manger feature is incomplete and there is RAID1 critical bug whi

Re: [f2fs-dev] [PATCH] f2fs: don't wait writeback for datas during checkpoint

2016-11-10 Thread Jaegeuk Kim
Hi Chao, On Thu, Nov 10, 2016 at 07:40:03PM +0800, Chao Yu wrote: > Normally, while committing checkpoint, we will wait on all pages to be > writebacked no matter the page is data or metadata, so in scenario where > there are lots of data IO being submitted with metadata, we may suffer > long late