Re: [PATCH v12] dm: add support to directly boot to a mapped device

2019-06-03 Thread Stephen Boyd
Quoting Helen Koike (2019-02-21 12:33:34) > Add a "create" module parameter, which allows device-mapper targets to be > configured at boot time. This enables early use of dm targets in the boot > process (as the root device or otherwise) without the need of an initramfs. > > The syntax used in the

[dm-devel] [PATCH] multipath: call store_pathinfo with DI_BLACKLIST

2019-06-03 Thread Benjamin Marzinski
Commit ca19f865f moved adding DI_BLACKLIST to the pathinfo flags out of store_pathinfo(), but it didn't add it to all of the necessary callers. Without this, store_pathinfo() callers can do unnecessary extra work, including running the path checker on blacklisted devices. Also, running multipathd

Re: [dm-devel] dm log writes: make sure the log super sectors are written in order

2019-06-03 Thread Josef Bacik
On Mon, Jun 03, 2019 at 10:46:08AM -0400, Mike Snitzer wrote: > On Mon, Jun 03 2019 at 10:18am -0400, > zhangyi (F) wrote: > > > Currently, although we submit super bios in log-write thread orderly > > (the super.nr_entries is incremented by each logged entry), the > > submit_bio() cannot make su

Re: [dm-devel] dm kcopyd: Increase sub-job size to 512KiB

2019-06-03 Thread Nikos Tsironis
On 6/3/19 5:08 PM, Mike Snitzer wrote: > On Mon, Jun 03 2019 at 9:40am -0400, > Nikos Tsironis wrote: > >> Currently, kcopyd has a sub-job size of 64KiB and a maximum number of 8 >> sub-jobs. As a result, for any kcopyd job, we have a maximum of 512KiB >> of I/O in flight. >> >> This upper limit

Re: [dm-devel] dm log writes: make sure the log super sectors are written in order

2019-06-03 Thread Mike Snitzer
On Mon, Jun 03 2019 at 10:18am -0400, zhangyi (F) wrote: > Currently, although we submit super bios in log-write thread orderly > (the super.nr_entries is incremented by each logged entry), the > submit_bio() cannot make sure that each super sector is written to log > device in order. So the subm

Re: [dm-devel] dm kcopyd: Increase sub-job size to 512KiB

2019-06-03 Thread Mike Snitzer
On Mon, Jun 03 2019 at 9:40am -0400, Nikos Tsironis wrote: > Currently, kcopyd has a sub-job size of 64KiB and a maximum number of 8 > sub-jobs. As a result, for any kcopyd job, we have a maximum of 512KiB > of I/O in flight. > > This upper limit to the amount of in-flight I/O under-utilizes fa

[dm-devel] [PATCH] dm kcopyd: Increase sub-job size to 512KiB

2019-06-03 Thread Nikos Tsironis
Currently, kcopyd has a sub-job size of 64KiB and a maximum number of 8 sub-jobs. As a result, for any kcopyd job, we have a maximum of 512KiB of I/O in flight. This upper limit to the amount of in-flight I/O under-utilizes fast devices and results in decreased throughput, e.g., when writing to a