[LU-16413] T10PI is broken for CentOS 8.x Created: 19/Dec/22 Updated: 19/Apr/23 Resolved: 07/Jan/23 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.16.0, Lustre 2.15.3 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Dongyang Li | Assignee: | Dongyang Li |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Severity: | 3 | ||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||
| Description |
|
The T10PI block integrity patches for lustre server kernel is broken, the bio_integrity_prep_fn interface is removed. As a result the autoconf feature test macro HAVE_BIO_INTEGRITY_PREP_FN was not defined, and the custom block integrity generate/verify was never enabled for CentOS 8.x The current block integrity generate/verify functions also require changes to be able to work on CentOS 8.x kernels. |
| Comments |
| Comment by Gerrit Updater [ 19/Dec/22 ] |
|
"Li Dongyang <dongyangli@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49441 |
| Comment by Andreas Dilger [ 23/Dec/22 ] |
|
Dongyang, is there any way to configure device mapper to have virtual T10-PI functionality so that we can test this without real hardware support? |
| Comment by Dongyang Li [ 23/Dec/22 ] |
|
I spent some time last week trying to get dm-integrity working, and hopefully we can have some smoke testing cases e.g. sanity-integrity. But seems it's intended to work with dm-crypt, the block device queue won't have integrity flags set, so not really useful for us. |
| Comment by Gerrit Updater [ 07/Jan/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/49441/ |
| Comment by Peter Jones [ 07/Jan/23 ] |
|
Landed for 2.16 |
| Comment by Gerrit Updater [ 04/Apr/23 ] |
|
"Li Dongyang <dongyangli@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50514 |
| Comment by Gerrit Updater [ 19/Apr/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/50514/ |