Project

General

Profile

Actions

Bug #22014

closed

krbd: memory allocation related deadlock (cloned image)

Added by Zheng Yan over 6 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
rbd
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

calltrace of ceph-msgr
[7507093.943117] [<ffffffffa075dfc9>] jbd2_log_wait_commit+0xa9/0x130 [jbd2]
[7507093.943147] [<ffffffff81218761>] evict+0xb1/0x190
[7507093.943160] [<ffffffff81192c97>] shrink_slab.part.40+0x1f7/0x3c0
[7507093.943173] [<ffffffff8118a8a2>] __alloc_pages_nodemask+0x582/0xab0
[7507093.943196] [<ffffffffa0748835>] rbd_img_obj_request_submit+0x295/0x4b0 [rbd]
[7507093.943216] [<ffffffffa06f6dbc>] handle_reply+0x3fc/0x810 [libceph]
[7507093.943237] [<ffffffff810ae4c2>] ? sched_clock_cpu+0x72/0xa0
[7507093.943254] [<ffffffff81096804>] worker_thread+0x114/0x470
[7507093.943262] [<ffffffff8109c270>] ? kthread_park+0x60/0x60

calltrace of jbd2
[<ffffffff8130a0e4>] blkdev_issue_discard+0x1f4/0x250
[<ffffffffa07b3fdb>] ext4_free_data_callback+0x20b/0x2c0 [ext4]
[<ffffffffa078f6e3>] ext4_journal_commit_callback+0x83/0xc0 [ext4]
[<ffffffffa075a442>] jbd2_journal_commit_transaction+0x12e2/0x1940 [jbd2]
[<ffffffffa075e48a>] kjournald2+0xca/0x260 [jbd2]
[<ffffffff8109c348>] kthread+0xd8/0xf0
[<ffffffff816ee90f>] ret_from_fork+0x3f/0x70
[<ffffffffffffffff>] 0xffffffffffffffff

Actions #1

Updated by Zheng Yan over 6 years ago

happened on layered image

Actions #2

Updated by Ilya Dryomov over 6 years ago

This particular one is easy to fix, I'll patch it next week.

Actions #3

Updated by Ilya Dryomov over 6 years ago

  • Subject changed from krbd: memory allocation related deadlock to krbd: memory allocation related deadlock (cloned image)
  • Category set to rbd
  • Status changed from New to In Progress
Actions #4

Updated by Ilya Dryomov over 6 years ago

  • Priority changed from Normal to Urgent
Actions #5

Updated by Ilya Dryomov over 6 years ago

  • Status changed from In Progress to 15

[PATCH] rbd: use GFP_NOIO for parent stat and data requests

Actions #7

Updated by Ilya Dryomov over 6 years ago

  • Status changed from Pending Backport to Resolved

In 3.18.81, 4.4.98, 4.9.62 and 4.13.13.

Actions

Also available in: Atom PDF