Re: [PATCH 4/6] block: avoid ordered task state change for polled IO

2018-11-12 Thread jianchao.wang
Hi Jens On 11/13/18 12:26 AM, Jens Axboe wrote: > On 11/12/18 2:35 AM, jianchao.wang wrote: >> Hi Jens >> >> On 11/10/18 11:13 PM, Jens Axboe wrote: >>> We only really need the barrier if we're going to be sleeping, >>> if we're just polling we're fine with the __set_current_state() >>> variant.

Re: [PATCH v3] block: copy ioprio in __bio_clone_fast()

2018-11-12 Thread Jens Axboe
On 11/12/18 2:29 AM, Jean Delvare wrote: > From: Hannes Reinecke > > We need to copy the io priority, too; otherwise the clone will run > with a different priority than the original one. Applied, thanks. -- Jens Axboe

Re: [PATCH 4/6] block: avoid ordered task state change for polled IO

2018-11-12 Thread Jens Axboe
On 11/12/18 2:35 AM, jianchao.wang wrote: > Hi Jens > > On 11/10/18 11:13 PM, Jens Axboe wrote: >> We only really need the barrier if we're going to be sleeping, >> if we're just polling we're fine with the __set_current_state() >> variant. >> >> Signed-off-by: Jens Axboe >> --- >>

Re: [PATCH v2] kyber: fix wrong strlcpy() size in trace_kyber_latency()

2018-11-12 Thread Jens Axboe
On 11/12/18 1:08 AM, Omar Sandoval wrote: > From: Omar Sandoval > > When copying to the latency type, we should be passing LATENCY_TYPE_LEN, > not DOMAIN_LEN (this isn't a problem in practice because we only pass > "total" or "I/O"). Fix it by changing all of the strlcpy() calls to use >

Re: [PATCH 0/16 v3] loop: Fix oops and possible deadlocks

2018-11-12 Thread Jan Kara
On Thu 08-11-18 16:28:11, Theodore Y. Ts'o wrote: > On Thu, Nov 08, 2018 at 02:01:00PM +0100, Jan Kara wrote: > > Hi, > > > > this patch series fixes oops and possible deadlocks as reported by syzbot > > [1] > > [2]. The second patch in the series (from Tetsuo) fixes the oops, the > > remaining

Inquiry 12/11/2018

2018-11-12 Thread sinara-group
Hi,friend, This is Daniel Murray and i am from Sinara Group Co.Ltd Group Co.,LTD in Russia. We are glad to know about your company from the web and we are interested in your products. Could you kindly send us your Latest catalog and price list for our trial order. Best Regards, Daniel

Re: [PATCH 4/6] block: avoid ordered task state change for polled IO

2018-11-12 Thread jianchao.wang
Hi Jens On 11/10/18 11:13 PM, Jens Axboe wrote: > We only really need the barrier if we're going to be sleeping, > if we're just polling we're fine with the __set_current_state() > variant. > > Signed-off-by: Jens Axboe > --- > fs/block_dev.c | 25 + > 1 file changed,

[PATCH v3] block: copy ioprio in __bio_clone_fast()

2018-11-12 Thread Jean Delvare
From: Hannes Reinecke We need to copy the io priority, too; otherwise the clone will run with a different priority than the original one. Fixes: 43b62ce3ff0a ("block: move bio io prio to a new field") Signed-off-by: Hannes Reinecke Signed-off-by: Jean Delvare --- Changes since v2: * Rebased

[PATCH v2] kyber: fix wrong strlcpy() size in trace_kyber_latency()

2018-11-12 Thread Omar Sandoval
From: Omar Sandoval When copying to the latency type, we should be passing LATENCY_TYPE_LEN, not DOMAIN_LEN (this isn't a problem in practice because we only pass "total" or "I/O"). Fix it by changing all of the strlcpy() calls to use sizeof(). Fixes: 6c3b7af1c975 ("kyber: add tracepoints")