(1):
md: allow metadata updates while suspending an array - fix
Shaohua Li (2):
MD: fix invalid stored role for a disk
MD: fix invalid stored role for a disk - try2
Xiao Ni (1):
MD: Memory leak when flush bio size is zero
drivers/md/md-bitmap.c | 9 +-
drivers/md
(1):
md: allow metadata updates while suspending an array - fix
Shaohua Li (2):
MD: fix invalid stored role for a disk
MD: fix invalid stored role for a disk - try2
Xiao Ni (1):
MD: Memory leak when flush bio size is zero
drivers/md/md-bitmap.c | 9 +-
drivers/md
On Fri, Oct 12, 2018 at 04:58:44PM +0800, kernel test robot wrote:
> FYI, we noticed the following commit (built with gcc-7):
>
> commit: d595567dc4f0c1d90685ec1e2e296e2cad2643ac ("MD: fix invalid stored
> role for a disk")
> https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git
On Fri, Oct 12, 2018 at 04:58:44PM +0800, kernel test robot wrote:
> FYI, we noticed the following commit (built with gcc-7):
>
> commit: d595567dc4f0c1d90685ec1e2e296e2cad2643ac ("MD: fix invalid stored
> role for a disk")
> https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git
On Thu, Sep 27, 2018 at 10:07:57AM +0200, Jack Wang wrote:
> From: Jack Wang
>
> After 9e1cc0a54556 ("md: use mddev_suspend/resume instead of ->quiesce()")
> We still have similar left in bitmap functions.
>
> Replace quiesce() with mddev_suspend/resume.
>
> Also move md_bitmap_create out of
On Thu, Sep 27, 2018 at 10:07:57AM +0200, Jack Wang wrote:
> From: Jack Wang
>
> After 9e1cc0a54556 ("md: use mddev_suspend/resume instead of ->quiesce()")
> We still have similar left in bitmap functions.
>
> Replace quiesce() with mddev_suspend/resume.
>
> Also move md_bitmap_create out of
-cluster: release RESYNC lock after the last resync message (2018-08-31
17:38:10 -0700)
Guoqing Jiang (1):
md-cluster: release RESYNC lock after the last resync message
Shaohua Li (1):
md/raid5-cache: disable reshape completely
-cluster: release RESYNC lock after the last resync message (2018-08-31
17:38:10 -0700)
Guoqing Jiang (1):
md-cluster: release RESYNC lock after the last resync message
Shaohua Li (1):
md/raid5-cache: disable reshape completely
Hi,
A few MD fixes for 4.19-rc1:
- Several md-cluster fixes from Guoqing
- A data corruption fix from BingJing
- Other cleanups
Please pull!
Thanks,
Shaohua
The following changes since commit 06c85639897cf3ea6a11c5cb6929fb0d9d7efea5:
Merge tag 'acpi-4.18-rc4' of
Hi,
A few MD fixes for 4.19-rc1:
- Several md-cluster fixes from Guoqing
- A data corruption fix from BingJing
- Other cleanups
Please pull!
Thanks,
Shaohua
The following changes since commit 06c85639897cf3ea6a11c5cb6929fb0d9d7efea5:
Merge tag 'acpi-4.18-rc4' of
On Wed, Jul 18, 2018 at 12:57:21PM +0200, Sebastian Andrzej Siewior wrote:
> On 2018-07-16 17:37:27 [-0700], Shaohua Li wrote:
> > On Mon, Jul 16, 2018 at 02:27:40PM +0200, Sebastian Andrzej Siewior wrote:
> > > On 2018-07-03 22:01:36 [+0200], To linux-kernel@vger.kernel.org w
On Wed, Jul 18, 2018 at 12:57:21PM +0200, Sebastian Andrzej Siewior wrote:
> On 2018-07-16 17:37:27 [-0700], Shaohua Li wrote:
> > On Mon, Jul 16, 2018 at 02:27:40PM +0200, Sebastian Andrzej Siewior wrote:
> > > On 2018-07-03 22:01:36 [+0200], To linux-kernel@vger.kernel.org w
ing/releasing the spin lock. With this variant the call of
> > local_irq_save is no longer required.
>
> Shaohua, are you with this?
Acked-by: Shaohua Li
> > Cc: Shaohua Li
> > Cc: linux-r...@vger.kernel.org
> > Acked-by: Peter Zijlstra (Intel)
> > Signed-of
ing/releasing the spin lock. With this variant the call of
> > local_irq_save is no longer required.
>
> Shaohua, are you with this?
Acked-by: Shaohua Li
> > Cc: Shaohua Li
> > Cc: linux-r...@vger.kernel.org
> > Acked-by: Peter Zijlstra (Intel)
> > Signed-of
13:04:49 -0700)
BingJing Chang (1):
md/raid10: fix that replacement cannot complete recovery after reassemble
Shaohua Li (1):
MD: cleanup resources in failure
drivers/md/md.c | 8 +---
drivers/md/raid10.c | 7
13:04:49 -0700)
BingJing Chang (1):
md/raid10: fix that replacement cannot complete recovery after reassemble
Shaohua Li (1):
MD: cleanup resources in failure
drivers/md/md.c | 8 +---
drivers/md/raid10.c | 7
Hi,
A few fixes of MD for this merge window. Mostly bug fixes:
- raid5 stripe batch fix from Amy
- Read error handling for raid1 FailFast device from Gioh
- raid10 recovery NULL pointer dereference fix from Guoqing
- Support write hint for raid5 stripe cache from Mariusz
- Fixes for device hot
Hi,
A few fixes of MD for this merge window. Mostly bug fixes:
- raid5 stripe batch fix from Amy
- Read error handling for raid1 FailFast device from Gioh
- raid10 recovery NULL pointer dereference fix from Guoqing
- Support write hint for raid5 stripe cache from Mariusz
- Fixes for device hot
On Wed, May 23, 2018 at 07:49:04PM +0200, Peter Zijlstra wrote:
> On Wed, May 23, 2018 at 06:21:19AM -0700, Matthew Wilcox wrote:
> > On Wed, May 09, 2018 at 09:36:40PM +0200, Sebastian Andrzej Siewior wrote:
> > > refcount_t type and corresponding API should be used instead of atomic_t
> > >
On Wed, May 23, 2018 at 07:49:04PM +0200, Peter Zijlstra wrote:
> On Wed, May 23, 2018 at 06:21:19AM -0700, Matthew Wilcox wrote:
> > On Wed, May 09, 2018 at 09:36:40PM +0200, Sebastian Andrzej Siewior wrote:
> > > refcount_t type and corresponding API should be used instead of atomic_t
> > >
On Wed, May 16, 2018 at 05:18:39PM +0800, Jianchao Wang wrote:
> For sb version 0.90 and 1.0 which locates after data, when we increase
> the spindle volume size and grow the raid arry size, the older sb which is
> different between spindles will be left there. Due to this left sb, the
> spindle
On Wed, May 16, 2018 at 05:18:39PM +0800, Jianchao Wang wrote:
> For sb version 0.90 and 1.0 which locates after data, when we increase
> the spindle volume size and grow the raid arry size, the older sb which is
> different between spindles will be left there. Due to this left sb, the
> spindle
On Wed, May 02, 2018 at 01:08:11PM +0200, Gioh Kim wrote:
> Current handle_read_error() function calls fix_read_error()
> only if md device is RW and rdev does not include FailFast flag.
> It does not handle a read error from a RW device including
> FailFast flag.
>
> I am not sure it is
On Wed, May 02, 2018 at 01:08:11PM +0200, Gioh Kim wrote:
> Current handle_read_error() function calls fix_read_error()
> only if md device is RW and rdev does not include FailFast flag.
> It does not handle a read error from a RW device including
> FailFast flag.
>
> I am not sure it is
Hi,
3 small fixes for MD:
- md-cluster fix for faulty device from Guoqing
- writehint fix for writebehind IO for raid1 from Mariusz
- a live lock fix for interrupted recovery from Yufen
Please pull!
The following changes since commit f8cf2f16a7c95acce497bfafa90e7c6d8397d653:
Merge branch
Hi,
3 small fixes for MD:
- md-cluster fix for faulty device from Guoqing
- writehint fix for writebehind IO for raid1 from Mariusz
- a live lock fix for interrupted recovery from Yufen
Please pull!
The following changes since commit f8cf2f16a7c95acce497bfafa90e7c6d8397d653:
Merge branch
Hi,
A few bug fixes for MD, please pull:
- Fix raid5-ppl flush request handling hang from Artur
- Fix a potential deadlock in raid5/10 reshape from BingJing
- Fix a deadlock for dm-raid from Heinz
- Fix two md-cluster of raid10 from Lidong and Guoqing
- Fix a NULL deference problem in device
Hi,
A few bug fixes for MD, please pull:
- Fix raid5-ppl flush request handling hang from Artur
- Fix a potential deadlock in raid5/10 reshape from BingJing
- Fix a deadlock for dm-raid from Heinz
- Fix two md-cluster of raid10 from Lidong and Guoqing
- Fix a NULL deference problem in device
On Tue, Feb 20, 2018 at 02:09:11PM +0100, Arnd Bergmann wrote:
> gcc warns about a possible overflow of the kmem_cache string, when adding
> four characters to a string of the same length:
>
> drivers/md/raid5.c: In function 'setup_conf':
> drivers/md/raid5.c:2207:34: error: '-alt' directive
On Tue, Feb 20, 2018 at 02:09:11PM +0100, Arnd Bergmann wrote:
> gcc warns about a possible overflow of the kmem_cache string, when adding
> four characters to a string of the same length:
>
> drivers/md/raid5.c: In function 'setup_conf':
> drivers/md/raid5.c:2207:34: error: '-alt' directive
On Fri, Feb 02, 2018 at 11:13:19PM +0100, Heinz Mauelshagen wrote:
> If no metadata devices are configured on raid1/4/5/6/10
> (e.g. via dm-raid), md_write_start() unconditionally waits
> for superblocks to be written thus deadlocking.
>
> Fix introduces mddev->has_superblocks bool, defines it in
On Fri, Feb 02, 2018 at 11:13:19PM +0100, Heinz Mauelshagen wrote:
> If no metadata devices are configured on raid1/4/5/6/10
> (e.g. via dm-raid), md_write_start() unconditionally waits
> for superblocks to be written thus deadlocking.
>
> Fix introduces mddev->has_superblocks bool, defines it in
On Sat, Jan 13, 2018 at 09:55:08AM +0100, SF Markus Elfring wrote:
> From: Markus Elfring
> Date: Sat, 13 Jan 2018 09:49:03 +0100
>
> A single character (closing square bracket) should be put into a sequence.
> Thus use the corresponding function "seq_putc".
>
>
On Sat, Jan 13, 2018 at 09:55:08AM +0100, SF Markus Elfring wrote:
> From: Markus Elfring
> Date: Sat, 13 Jan 2018 09:49:03 +0100
>
> A single character (closing square bracket) should be put into a sequence.
> Thus use the corresponding function "seq_putc".
>
> This issue was detected by using
On Wed, Jan 17, 2018 at 01:38:02PM +, Luis de Bethencourt wrote:
> The trailing semicolon is an empty statement that does no operation.
> Removing it since it doesn't do anything.
>
> Signed-off-by: Luis de Bethencourt
> ---
>
> Hi,
>
> After fixing the same thing in
On Wed, Jan 17, 2018 at 01:38:02PM +, Luis de Bethencourt wrote:
> The trailing semicolon is an empty statement that does no operation.
> Removing it since it doesn't do anything.
>
> Signed-off-by: Luis de Bethencourt
> ---
>
> Hi,
>
> After fixing the same thing in
Hi,
Some small fixes for MD 4.16:
- Fix raid5-cache potential problems if raid5 cache isn't fully recovered
- Fix a wait-within-wait warning in raid1/10
- Make raid5-PPL support disks with writeback cache enabled
Please pull!
Thanks,
Shaohua
The following changes since commit
Hi,
Some small fixes for MD 4.16:
- Fix raid5-cache potential problems if raid5 cache isn't fully recovered
- Fix a wait-within-wait warning in raid1/10
- Make raid5-PPL support disks with writeback cache enabled
Please pull!
Thanks,
Shaohua
The following changes since commit
On Tue, Dec 19, 2017 at 10:17:43AM -0600, Bruno Wolff III wrote:
> On Sun, Dec 17, 2017 at 21:43:50 +0800,
> weiping zhang wrote:
> > Hi, thanks for testing, I think you first reproduce this issue(got WARNING
> > at device_add_disk) by your own build, then add my debug patch.
On Tue, Dec 19, 2017 at 10:17:43AM -0600, Bruno Wolff III wrote:
> On Sun, Dec 17, 2017 at 21:43:50 +0800,
> weiping zhang wrote:
> > Hi, thanks for testing, I think you first reproduce this issue(got WARNING
> > at device_add_disk) by your own build, then add my debug patch.
>
> The problem is
)
Nate Dailey (1):
md: limit mdstat resync progress to max_sectors
Shaohua Li (1):
md/raid1/10: add missed blk plug
Song Liu (1):
md/r5cache: move mddev_lock() out of r5c_journal_mode_set()
bingjingc (1):
md
)
Nate Dailey (1):
md: limit mdstat resync progress to max_sectors
Shaohua Li (1):
md/raid1/10: add missed blk plug
Song Liu (1):
md/r5cache: move mddev_lock() out of r5c_journal_mode_set()
bingjingc (1):
md
On Thu, Nov 16, 2017 at 08:25:58PM -0800, Khazhismel Kumykov wrote:
> On Thu, Nov 16, 2017 at 8:50 AM, Shaohua Li <s...@kernel.org> wrote:
> > On Tue, Nov 14, 2017 at 03:10:22PM -0800, Khazhismel Kumykov wrote:
> >> Allows configuration additional bytes or ios before a th
On Thu, Nov 16, 2017 at 08:25:58PM -0800, Khazhismel Kumykov wrote:
> On Thu, Nov 16, 2017 at 8:50 AM, Shaohua Li wrote:
> > On Tue, Nov 14, 2017 at 03:10:22PM -0800, Khazhismel Kumykov wrote:
> >> Allows configuration additional bytes or ios before a throttle
On Tue, Nov 14, 2017 at 03:10:22PM -0800, Khazhismel Kumykov wrote:
> Allows configuration additional bytes or ios before a throttle is
> triggered.
>
> This allows implementation of a bucket style rate-limit/throttle on a
> block device. Previously, bursting to a device was limited to allowance
On Tue, Nov 14, 2017 at 03:10:22PM -0800, Khazhismel Kumykov wrote:
> Allows configuration additional bytes or ios before a throttle is
> triggered.
>
> This allows implementation of a bucket style rate-limit/throttle on a
> block device. Previously, bursting to a device was limited to allowance
/linux/blk-cgroup.h
> @@ -715,7 +715,8 @@ static inline bool blkcg_bio_issue_check(struct
> request_queue *q,
>
> throtl = blk_throtl_bio(q, blkg, bio);
>
> - if (!throtl) {
> + /* if @q does io stat, blkcg stats are updated together with them */
> + if
/blk-cgroup.h
> @@ -715,7 +715,8 @@ static inline bool blkcg_bio_issue_check(struct
> request_queue *q,
>
> throtl = blk_throtl_bio(q, blkg, bio);
>
> - if (!throtl) {
> + /* if @q does io stat, blkcg stats are updated together with them */
> + if (!blk_queue_io_stat(
On Mon, Nov 13, 2017 at 12:15:23PM -0800, Tejun Heo wrote:
> From c856a199ec70e4022e997609f1b17b9106408777 Mon Sep 17 00:00:00 2001
> From: Tejun Heo
> Date: Mon, 13 Nov 2017 12:11:57 -0800
>
> On the legacy request_queue, each blkcg_gq has a dedicated
> request_list that
On Mon, Nov 13, 2017 at 12:15:23PM -0800, Tejun Heo wrote:
> From c856a199ec70e4022e997609f1b17b9106408777 Mon Sep 17 00:00:00 2001
> From: Tejun Heo
> Date: Mon, 13 Nov 2017 12:11:57 -0800
>
> On the legacy request_queue, each blkcg_gq has a dedicated
> request_list that requests for the cgroup
and doesn't introduce any functional changes.
>
> Signed-off-by: Tejun Heo <t...@kernel.org>
Reviewed-by: Shaohua Li <s...@kernel.org>
> ---
> block/blk-cgroup.c | 6 +++---
> block/blk-throttle.c | 2 +-
> include/linux/blk-cgroup.h | 32 +++
and doesn't introduce any functional changes.
>
> Signed-off-by: Tejun Heo
Reviewed-by: Shaohua Li
> ---
> block/blk-cgroup.c | 6 +++---
> block/blk-throttle.c | 2 +-
> include/linux/blk-cgroup.h | 32 +---
> 3 files changed, 25 i
> Signed-off-by: Tejun Heo <t...@kernel.org>
Reviewed-by: Shaohua Li <s...@kernel.org>
> ---
> block/blk-cgroup.c | 21 -
> include/linux/blk-cgroup.h | 13 -
> 2 files changed, 20 insertions(+), 14 deletions(-)
>
> diff --git a/bl
> acceptable albeit restrictive and fragile.
>
> Now that the percpu allocator supports !GFP_KERNEL allocations,
> there's no reason to keep using atomic_t refcnt. This will allow
> clean separation between bio and request layers helping blkcg support
> in blk-mq.
>
On Sun, Nov 12, 2017 at 02:26:07PM -0800, Tejun Heo wrote:
> Move __blkg_release_rcu() above blkg_alloc(). This is a pure code
> reorganization to prepare for the switch to percpu_ref.
>
> Signed-off-by: Tejun Heo <t...@kernel.org>
Reviewed-by: Shaohua Li <s...@kernel.or
On Sun, Nov 12, 2017 at 02:26:07PM -0800, Tejun Heo wrote:
> Move __blkg_release_rcu() above blkg_alloc(). This is a pure code
> reorganization to prepare for the switch to percpu_ref.
>
> Signed-off-by: Tejun Heo
Reviewed-by: Shaohua Li
> ---
> block
ops=100 idle=100
> latency=120%
>
> Signed-off-by: Tejun Heo <t...@kernel.org>
> Cc: Shaohua Li <s...@kernel.org>
Reviewed-by: Shaohua Li <s...@kernel.org>
> ---
> block/blk-throttle.c | 66
> +++--
ops=100 idle=1000000
> latency=120%
>
> Signed-off-by: Tejun Heo
> Cc: Shaohua Li
Reviewed-by: Shaohua Li
> ---
> block/blk-throttle.c | 66
> +++
> 1 file changed, 51 insertions(+), 15 deletions(-)
>
> --- a
ning of ->quiesce(.., 2)
md: be cautious about using ->curr_resync_completed for ->recovery_offset
Shaohua Li (2):
md/bitmap: revert a patch
md: use lockdep_assert_held
Zdenek Kabelac (2):
md: release allocated bitset sync_set
md: free unused memory after bit
ning of ->quiesce(.., 2)
md: be cautious about using ->curr_resync_completed for ->recovery_offset
Shaohua Li (2):
md/bitmap: revert a patch
md: use lockdep_assert_held
Zdenek Kabelac (2):
md: release allocated bitset sync_set
md: free unused memory after bit
On Mon, Nov 13, 2017 at 06:18:49AM -0800, Tejun Heo wrote:
> Hello, Shaohua. Just a bit of addition.
>
> On Mon, Nov 13, 2017 at 03:27:10AM -0800, Tejun Heo wrote:
> > What I'm trying to say is that the latency is defined as "from bio
> > issue to completion", not "in-flight time on device".
On Mon, Nov 13, 2017 at 06:18:49AM -0800, Tejun Heo wrote:
> Hello, Shaohua. Just a bit of addition.
>
> On Mon, Nov 13, 2017 at 03:27:10AM -0800, Tejun Heo wrote:
> > What I'm trying to say is that the latency is defined as "from bio
> > issue to completion", not "in-flight time on device".
On Mon, Nov 13, 2017 at 07:57:45AM -0800, Tejun Heo wrote:
> Hello,
>
> On Mon, Nov 13, 2017 at 03:13:48AM -0800, Tejun Heo wrote:
> > You're right. If we wanna take this approach, we need to keep the
> > throttled flag while cloning. The clearing part is still correct tho.
> > Without that, I
On Mon, Nov 13, 2017 at 07:57:45AM -0800, Tejun Heo wrote:
> Hello,
>
> On Mon, Nov 13, 2017 at 03:13:48AM -0800, Tejun Heo wrote:
> > You're right. If we wanna take this approach, we need to keep the
> > throttled flag while cloning. The clearing part is still correct tho.
> > Without that, I
On Mon, Nov 13, 2017 at 07:57:45AM -0800, Tejun Heo wrote:
> Hello,
>
> On Mon, Nov 13, 2017 at 03:13:48AM -0800, Tejun Heo wrote:
> > You're right. If we wanna take this approach, we need to keep the
> > throttled flag while cloning. The clearing part is still correct tho.
> > Without that, I
On Mon, Nov 13, 2017 at 07:57:45AM -0800, Tejun Heo wrote:
> Hello,
>
> On Mon, Nov 13, 2017 at 03:13:48AM -0800, Tejun Heo wrote:
> > You're right. If we wanna take this approach, we need to keep the
> > throttled flag while cloning. The clearing part is still correct tho.
> > Without that, I
On Fri, Nov 10, 2017 at 07:43:14AM -0800, Tejun Heo wrote:
> Hello, Shaohua.
>
> On Thu, Nov 09, 2017 at 08:27:13PM -0800, Shaohua Li wrote:
> > I think the absolute latency would only work for HD. For a SSD, a 4k latency
> > probably is 60us and 1M latency is 500us.
On Fri, Nov 10, 2017 at 07:43:14AM -0800, Tejun Heo wrote:
> Hello, Shaohua.
>
> On Thu, Nov 09, 2017 at 08:27:13PM -0800, Shaohua Li wrote:
> > I think the absolute latency would only work for HD. For a SSD, a 4k latency
> > probably is 60us and 1M latency is 500us.
On Sun, Nov 12, 2017 at 02:26:13PM -0800, Tejun Heo wrote:
> BIO_THROTTLED is used to mark already throttled bios so that a bio
> doesn't get throttled multiple times. The flag gets set when the bio
> starts getting dispatched from blk-throtl and cleared when it leaves
> blk-throtl.
>
>
On Sun, Nov 12, 2017 at 02:26:13PM -0800, Tejun Heo wrote:
> BIO_THROTTLED is used to mark already throttled bios so that a bio
> doesn't get throttled multiple times. The flag gets set when the bio
> starts getting dispatched from blk-throtl and cleared when it leaves
> blk-throtl.
>
>
On Thu, Nov 09, 2017 at 03:42:58PM -0800, Tejun Heo wrote:
> Hello, Shaohua.
>
> On Thu, Nov 09, 2017 at 03:12:12PM -0800, Shaohua Li wrote:
> > The percentage latency makes sense, but the absolute latency doesn't to me.
> > A
> > 4k IO latency could be much smalle
On Thu, Nov 09, 2017 at 03:42:58PM -0800, Tejun Heo wrote:
> Hello, Shaohua.
>
> On Thu, Nov 09, 2017 at 03:12:12PM -0800, Shaohua Li wrote:
> > The percentage latency makes sense, but the absolute latency doesn't to me.
> > A
> > 4k IO latency could be much smalle
smaller than 1M IO latency. If we don't add
baseline latency, we can't specify a latency target which works for both 4k and
1M IO.
Thanks,
Shaohua
> Signed-off-by: Tejun Heo <t...@kernel.org>
> Cc: Shaohua Li <s...@kernel.org>
> ---
> block/blk-throttle.c |3 +--
>
smaller than 1M IO latency. If we don't add
baseline latency, we can't specify a latency target which works for both 4k and
1M IO.
Thanks,
Shaohua
> Signed-off-by: Tejun Heo
> Cc: Shaohua Li
> ---
> block/blk-throttle.c |3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-
ov <dvyu...@google.com>
Signed-off-by: Shaohua Li <s...@fb.com>
---
kernel/kthread.c | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/kernel/kthread.c b/kernel/kthread.c
index f87cd8b4..8dbe245 100644
--- a/kernel/kthread.c
+++ b/kernel/kthread.c
@@ -20
sound much overhead.
Reported-by: syzbot
Fixes: 05e3db95ebfc ("kthread: add a mechanism to store cgroup info")
Cc: Andrew Morton
Cc: Ingo Molnar
Cc: Tejun Heo
Cc: Dmitry Vyukov
Signed-off-by: Shaohua Li
---
kernel/kthread.c | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
Andrew Morton <a...@linux-foundation.org>
Cc: Ingo Molnar <mi...@kernel.org>
Cc: Tejun Heo <t...@kernel.org>
Signed-off-by: Shaohua Li <s...@fb.com>
---
kernel/kthread.c | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/kernel/kthread.c b/kernel/kth
: Tejun Heo
Signed-off-by: Shaohua Li
---
kernel/kthread.c | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/kernel/kthread.c b/kernel/kthread.c
index f87cd8b4..cf5c113 100644
--- a/kernel/kthread.c
+++ b/kernel/kthread.c
@@ -205,6 +205,10 @@ static int kthread(void
ong, I'll apply. Or if you want this merged in
other tree, you can add my 'reviewed-by: Shaohua Li <s...@fb.com>' for md.c
part.
> Cc: Kent Overstreet <kent.overstr...@gmail.com>
> Cc: Shaohua Li <s...@kernel.org>
> Cc: Alasdair Kergon <a...@redhat.com>
> Cc:
ong, I'll apply. Or if you want this merged in
other tree, you can add my 'reviewed-by: Shaohua Li ' for md.c
part.
> Cc: Kent Overstreet
> Cc: Shaohua Li
> Cc: Alasdair Kergon
> Cc: Mike Snitzer
> Cc: dm-de...@redhat.com
> Cc: linux-bca...@vger.kernel.org
> Cc: linux-r..
On Fri, Oct 06, 2017 at 01:22:12PM +1100, Neil Brown wrote:
> On Thu, Oct 05 2017, Matthias Kaehlcke wrote:
>
> > Hi Neil,
> >
> > El Fri, Oct 06, 2017 at 10:58:59AM +1100 NeilBrown ha dit:
> >
> >> On Thu, Oct 05 2017, Matthias Kaehlcke wrote:
> >>
> >> > The raid10 driver can't be built with
On Fri, Oct 06, 2017 at 01:22:12PM +1100, Neil Brown wrote:
> On Thu, Oct 05 2017, Matthias Kaehlcke wrote:
>
> > Hi Neil,
> >
> > El Fri, Oct 06, 2017 at 10:58:59AM +1100 NeilBrown ha dit:
> >
> >> On Thu, Oct 05 2017, Matthias Kaehlcke wrote:
> >>
> >> > The raid10 driver can't be built with
On Thu, Oct 05, 2017 at 11:28:47AM -0700, Matthias Kaehlcke wrote:
> The raid10 driver can't be built with clang since it uses a variable
> length array in a structure (VLAIS):
>
> drivers/md/raid10.c:4583:17: error: fields must have a constant size:
> 'variable length array in structure'
On Thu, Oct 05, 2017 at 11:28:47AM -0700, Matthias Kaehlcke wrote:
> The raid10 driver can't be built with clang since it uses a variable
> length array in a structure (VLAIS):
>
> drivers/md/raid10.c:4583:17: error: fields must have a constant size:
> 'variable length array in structure'
-27 20:08:44 -0700)
Shaohua Li (4):
md: separate request handling
md: fix a race condition for flush request handling
dm-raid: fix a race condition in request handling
md/raid5: cap worker count
drivers/md/dm
-27 20:08:44 -0700)
Shaohua Li (4):
md: separate request handling
md: fix a race condition for flush request handling
dm-raid: fix a race condition in request handling
md/raid5: cap worker count
drivers/md/dm
On Thu, Sep 14, 2017 at 02:02:03PM -0700, Shaohua Li wrote:
> From: Shaohua Li <s...@fb.com>
>
> Hi,
>
> The IO dispatched to under layer disk by loop block device isn't cloned from
> original bio, so the IO loses cgroup information of original bio. These IO
>
On Thu, Sep 14, 2017 at 02:02:03PM -0700, Shaohua Li wrote:
> From: Shaohua Li
>
> Hi,
>
> The IO dispatched to under layer disk by loop block device isn't cloned from
> original bio, so the IO loses cgroup information of original bio. These IO
> escapes from cgroup con
On Wed, Sep 20, 2017 at 11:01:47AM +0200, Artem Savkov wrote:
> Hi All,
>
> We recently started noticing madvise09[1] test from ltp failing strangely. The
> test does the following: maps 32 pages, sets MADV_FREE for the range it got,
> dirties 2 of the pages, creates memory pressure and check
On Wed, Sep 20, 2017 at 11:01:47AM +0200, Artem Savkov wrote:
> Hi All,
>
> We recently started noticing madvise09[1] test from ltp failing strangely. The
> test does the following: maps 32 pages, sets MADV_FREE for the range it got,
> dirties 2 of the pages, creates memory pressure and check
)
Dennis Yang (1):
md/raid5: preserve STRIPE_ON_UNPLUG_LIST in break_stripe_batch_list
Shaohua Li (1):
md/raid5: fix a race condition in stripe batch
drivers/md/raid5.c | 13 ++---
1 file changed, 10 insertions(+), 3 deletions(-)
)
Dennis Yang (1):
md/raid5: preserve STRIPE_ON_UNPLUG_LIST in break_stripe_batch_list
Shaohua Li (1):
md/raid5: fix a race condition in stripe batch
drivers/md/raid5.c | 13 ++---
1 file changed, 10 insertions(+), 3 deletions(-)
From: Shaohua Li <s...@fb.com>
kthread usually runs jobs on behalf of other threads. The jobs should be
charged to cgroup of original threads. But the jobs run in a kthread,
where we lose the cgroup context of original threads. The patch adds a
machanism to record cgroup info of original t
From: Shaohua Li
kthread usually runs jobs on behalf of other threads. The jobs should be
charged to cgroup of original threads. But the jobs run in a kthread,
where we lose the cgroup context of original threads. The patch adds a
machanism to record cgroup info of original threads in kthread
From: Shaohua Li <s...@fb.com>
Hi,
The IO dispatched to under layer disk by loop block device isn't cloned from
original bio, so the IO loses cgroup information of original bio. These IO
escapes from cgroup control. The patches try to address this issue. The idea is
quite generic,
From: Shaohua Li
Hi,
The IO dispatched to under layer disk by loop block device isn't cloned from
original bio, so the IO loses cgroup information of original bio. These IO
escapes from cgroup control. The patches try to address this issue. The idea is
quite generic, but we currently only make
From: Shaohua Li <s...@fb.com>
Nobody uses the APIs right now.
Acked-by: Tejun Heo <t...@kernel.org>
Signed-off-by: Shaohua Li <s...@fb.com>
---
block/bio.c| 31 ---
include/linux/bio.h| 2 --
include/linux/blk-cgroup.h |
From: Shaohua Li
Nobody uses the APIs right now.
Acked-by: Tejun Heo
Signed-off-by: Shaohua Li
---
block/bio.c| 31 ---
include/linux/bio.h| 2 --
include/linux/blk-cgroup.h | 12
3 files changed, 45 deletions(-)
diff --git
From: Shaohua Li <s...@fb.com>
loop block device handles IO in a separate thread. The actual IO
dispatched isn't cloned from the IO loop device received, so the
dispatched IO loses the cgroup context.
I'm ignoring buffer IO case now, which is quite complicated. Making the
loop thread
From: Shaohua Li
loop block device handles IO in a separate thread. The actual IO
dispatched isn't cloned from the IO loop device received, so the
dispatched IO loses the cgroup context.
I'm ignoring buffer IO case now, which is quite complicated. Making the
loop thread aware cgroup context
1 - 100 of 1747 matches
Mail list logo