Whamcloud - gitweb
LU-16847 ldiskfs: refactor t10 code. 45/51145/6
authorAlexey Lyashkov <alexey.lyashkov@hpe.com>
Thu, 25 May 2023 07:47:38 +0000 (10:47 +0300)
committerOleg Drokin <green@whamcloud.com>
Sat, 8 Jul 2023 22:33:23 +0000 (22:33 +0000)
commit84bb366642e80f8c065d088a8ed200947a8468ff
treea49387286e6935414c01d9a5871ed309df89f884
parent9e5040a304a995dd4c501c8804da1f768f8c2386
LU-16847 ldiskfs: refactor t10 code.

use a t10 private structure at each time to make testing easy.
use a slab to allocate to do it fast and memory leak will found early,
let move a t10 code into own file.

HPe-bug-id: LUS-11645
Signed-off-by: Alexey Lyashkov <alexey.lyashkov@hpe.com>
Change-Id: Iaf1cb9fd63db2af866003f4b1f81a5e2c3b8f540
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51145
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Andrew Perepechko <andrew.perepechko@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/osd-ldiskfs/osd_handler.c
lustre/osd-ldiskfs/osd_integrity.c
lustre/osd-ldiskfs/osd_internal.h
lustre/osd-ldiskfs/osd_io.c