231 Star 843 Fork 390

GVPopenEuler / kernel

 / 详情

【kernel-4.19】openEuler kernel nvme 驱动增强

Done
Requirement member
Opened this issue  
2020-09-24 09:48

按照 kernel sig 会议纪要,nvme 驱动增强
#I1WGN0:kernel sig meeting record - 20200918

openEuler nvme 驱动增强 - 冷超
补丁基本为bugfix,按照openEuler补丁的要求,形成补丁集,合入LTS版本以及开发分支。

Comments (7)

Hey xiexiuqi, Welcome to openEuler Community.
All of the projects in openEuler Community are maintained by @openeuler-ci-bot .
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md to find the details.

XieXiuQi created需求
XieXiuQi set related repository to openEuler/kernel
XieXiuQi changed description
YangYingliang changed issue state from 新建 to 开发中
solarhu set assignee to XieXiuQi
Expand operation logs

1 第一次补丁推送


git log --stat fed509d234e0...5e78085c6a92

5e78085c6a92 (tag: 4.19.90-2011.2.0) nvme-fabrics: modify default value to reconnect forever
cee1536f0d6d nvme-rdma: add module param to turn off inline data dynamically
7ca9fd5bc03e nvme-rdma: fix crash casue by destroy id while resolving addr
7f5e79f5b174 nvme-rdma: avoid race between time out and tear down
c271c9c7c424 nvme-core: introduce sync io queues
7f5e79f5b174 nvme-rdma: avoid race between time out and tear down
c271c9c7c424 nvme-core: introduce sync io queues
3976a65d2388 nvme-rdma: avoid repeated request completion
dffdd18496c2 nvme-rdma: fix crash due to incorrect cqe
bdb96f13795d nvme-multipath: fix crash in nvme_mpath_clear_ctrl_paths
e90810b33588 nvme: fix controller removal race with scan work
dbf7a19d9e88 nvme-multipath: fix bogus request queue reference put
5e1cc0053907 nvme-multipath: fix deadlock due to head->lock
ff0c17f8a3e0 nvme: don't protect ns mutation with ns->head->lock
adda4c9bee31 nvme: clear any SGL flags in passthru commands
9ecffdadbcff nvme: disable streams when get stream params failed
7e15d7354bba nvme: revalidate after verifying identifiers
bd656f0eac17 nvme: release namespace head reference on error
614a0676d27f nvme: unlink head after removing last namespace
c4b7246a2d7a nvme: Make nvme_uninit_ctrl symmetric to nvme_init_ctrl
62baf4092a0b nvme: Fix ctrl use-after-free during sysfs deletion
21d889f5591f nvme-rdma: fix crash when connect rejected
12057ba1c01a nvme-rdma: fix timeout handler
86825596da8c nvme: Fix parsing of ANA log page
2bff3c08273c nvme: release ida resources
6bc5e63b1edb nvme: Add compat_ioctl handler for NVME_IOCTL_SUBMIT_IO
7fa1a1b7f644 nvme: introduce "Command Aborted By host" status code
18420a7a0708 nvme: enable aen regardless of the presence of I/O queues
c8de72037cbe nvme: make nvme_identify_ns propagate errors back
0728af6fd1f4 nvme: pass status to nvme_error_status
04a88639fac7 nvme: don't abort completed request in nvme_cancel_request
8ba212a80e9a nvme: put ns_head ref if namespace fails allocation
aa8d040e0d75 nvme: implement Enhanced Command Retry
a9f851e91476 nvme: wait until all completed request's complete fn is called
89d76f416245 blk-mq: introduce blk_mq_tagset_wait_completed_request()
7aaebe6650e3 blk-mq: introduce blk_mq_request_completed()
650257e19fdb nvme-rdma: fix a segmentation fault during module unload
c23725b47136 mlx5: remove support for ib_get_vector_affinity
d4406d8e011e nvme-rdma: fix possible use-after-free in connect timeout
bc74bf5cc96e nvme-rdma: fix possible use-after-free in connect error flow
fe309f57bd4a nvme-rdma: use dynamic dma mapping per command
a295f43a3c8c nvme-rdma: remove redundant reference between ib_device and tagset

AND

7adf22ccb313 nvme-fabrics: reject I/O to offline device
3aa30a87da11 config: enable CONFIG_NVME_MULTIPATH by default

kernel-4.19 的部分提交如下

71d5bef3440a nvme-fabrics: modify default value to reconnect forever
d53453ee8810 nvme-rdma: add module param to turn off inline data dynamically
6a4a95988a4d nvme-rdma: fix crash casue by destroy id while resolving addr
833a588afdd7 nvme-rdma: avoid race between time out and tear down
893f65196e9a nvme-core: introduce sync io queues
d0b1f6efa5ef nvme-rdma: avoid repeated request completion
38e0ed923ee6 nvme-rdma: fix crash due to incorrect cqe
52d7c4c346ad nvme-multipath: fix crash in nvme_mpath_clear_ctrl_paths
67405b7f7700 nvme: fix controller removal race with scan work
f8026ea3ad0c nvme-multipath: fix bogus request queue reference put
f0f2d9241635 nvme-multipath: fix deadlock due to head->lock
cd462a392cc8 nvme: don't protect ns mutation with ns->head->lock
af5af1984922 nvme: clear any SGL flags in passthru commands
b24247efeb0d nvme: disable streams when get stream params failed
c48c58990cfd nvme: revalidate after verifying identifiers
863d4f5c9316 nvme: release namespace head reference on error
2a09dc0fac9f nvme: unlink head after removing last namespace
d60b649bee2a nvme: Make nvme_uninit_ctrl symmetric to nvme_init_ctrl
b2782d29521c nvme: Fix ctrl use-after-free during sysfs deletion
f553ac1ce6d9 nvme-rdma: fix timeout handler
47b3c74cec2c nvme: Fix parsing of ANA log page
876ad7cfcf93 nvme: release ida resources
b014984fdaa7 nvme: Add compat_ioctl handler for NVME_IOCTL_SUBMIT_IO
a8c035a0b61c nvme: introduce "Command Aborted By host" status code
21a36feb5ec3 nvme: enable aen regardless of the presence of I/O queues
aee2da24dfdd nvme: make nvme_identify_ns propagate errors back
e3705816beac nvme: pass status to nvme_error_status
6bc9b60588cf nvme: don't abort completed request in nvme_cancel_request
6a0d87b0971d nvme: put ns_head ref if namespace fails allocation
647f57ac78d7 nvme: implement Enhanced Command Retry
e4a347e76210 nvme: wait until all completed request's complete fn is called
dbfac83861f4 blk-mq: introduce blk_mq_tagset_wait_completed_request()
286addc3dcba blk-mq: introduce blk_mq_request_completed()
4440769bb23e nvme-rdma: fix a segmentation fault during module unload
cced9d2813ea mlx5: remove support for ib_get_vector_affinity
9eae5c2e2d4b nvme-rdma: fix possible use-after-free in connect timeout
9ee4dc3a1bc8 nvme-rdma: fix possible use-after-free in connect error flow
44540b29c71b nvme-rdma: use dynamic dma mapping per command
68ce50041e63 nvme-rdma: remove redundant reference between ib_device and tagset
成坚 (CHENG Jian) translation missing: en.project.new_issues_operate_log.link_issue(Normal)[openEuler-20.03-LTS-SP1] nvme 驱动导出接口破坏了 nvme.ko 的兼容性
成坚 (CHENG Jian) changed issue state from 开发中 to 已完成

解决了nvme over roce在阵列侧注入IO超时,导致主机crash的问题

分支 commit tag
openEuler-1.0-LTS 45d27460a43fb7bf9611ed7a325a18c89394e3e1 openEuler-1.0-LTS
kernel-4.19 984721134cae1e8975c29f9b1fe54a2b9786d2a2 kernel-4.19
成坚 (CHENG Jian) translation missing: en.project.new_issues_operate_log.link_issue(Normal)【openEuler-1.0-LTS】nvme 建链时设置队列数量失败导致主机 crash 的问题

nvme over roce反复注入阵列端接口卡aer故障,主机crash

#I4FAK1:【openEuler-1.0-LTS】nvme over roce反复注入阵列端接口卡aer故障,主机crash

分支 commit tag
openEuler-1.0-LTS 6be22ed6a6c2e3247ab9150b42cd2ffd2211eb75 openEuler-1.0-LTS
kernel-4.19 04d7a91b2c7643a942b259d63be64db569fffc11 kernel-4.19
成坚 (CHENG Jian) translation missing: en.project.new_issues_operate_log.link_issue(Normal)【openEuler-1.0-LTS】nvme over roce反复注入阵列端接口卡aer故障,主机crash

Sign in to comment

Status
Assignees
Projects
Milestones
Pull Requests
Successfully merging a pull request will close this issue.
Branches
Planed to start   -   Planed to end
-
Top level
Priority
Duration (hours)
Confirm
参与者(3)
5329419 openeuler ci bot 1632792936
C
1
https://toscode.gitee.com/openeuler/kernel.git
git@toscode.gitee.com:openeuler/kernel.git
openeuler
kernel
kernel

Search