Revision tags: v24.05, v24.09-pre, v24.05-rc1, LTS, v24.01, v24.05-pre, v24.01-rc1, v23.09, v24.01-pre, v23.09-rc1, v23.05, v23.09-pre, v23.01.1, v23.01, v23.05-pre, v23.01-rc1 |
|
#
3a39d90b |
| 13-Jan-2023 |
Jim Harris <james.r.harris@intel.com> |
bdev_gpt: add new SPDK partition type for off-by-one fix
The gpt bdev module has an off-by-one error. When it calculates the size of the partition, it simply does "end - start", when really it shou
bdev_gpt: add new SPDK partition type for off-by-one fix
The gpt bdev module has an off-by-one error. When it calculates the size of the partition, it simply does "end - start", when really it should be "end - start + 1".
We cannot just fix it by changing the math here, any consumers of the partition may have put down metadata on the partition based on the old size.
So instead add a new SPDK partition type. SPDK will keep the existing off-by-one behavior when it finds the old partition type, but will use the correct math when finding the new partition type.
Fixes issue #2801.
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I48eb48c781f1968b59e52b4477ca45e9c81eac11 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16298 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Mike Gerdts <mgerdts@nvidia.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
show more ...
|
Revision tags: v22.01.2 |
|
#
17538bdc |
| 02-Nov-2022 |
paul luse <paul.e.luse@intel.com> |
add (c) and SPDX header to python files as needed
per Intel policy to include file commit date using git cmd below. The policy does not apply to non-Intel (C) notices.
git log --follow -C90% --for
add (c) and SPDX header to python files as needed
per Intel policy to include file commit date using git cmd below. The policy does not apply to non-Intel (C) notices.
git log --follow -C90% --format=%ad --date default <file> | tail -1
and then pull just the year from the result.
Intel copyrights were not added to files where Intel either had no contribution ot the contribution lacked substance (ie license header updates, formatting changes, etc)
Note that several files in this patch didn't end the license/(c) block with a blank comment line so these were added as the vast majority of files do have this last blank line. Simply there for consistency.
Signed-off-by: paul luse <paul.e.luse@intel.com> Change-Id: I6cd3f18d1b469d5ef249d26ddb2923ca6b970bd4 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15208 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
show more ...
|
Revision tags: v22.09, v23.01-pre, v22.09-rc1, v22.05, v22.09-pre, v22.05-rc1, v22.01.1, v22.01, v22.01-rc1 |
|
#
61dadf29 |
| 16-Jan-2022 |
Michal Berger <michallinuxstuff@gmail.com> |
scripts/spdk-gpt: Fix path lookup of the target device
Signed-off-by: Michal Berger <michallinuxstuff@gmail.com> Change-Id: I5e1cdb75b8b4421b2a38fe315f75e11d8ea5de23 Reviewed-on: https://review.spdk
scripts/spdk-gpt: Fix path lookup of the target device
Signed-off-by: Michal Berger <michallinuxstuff@gmail.com> Change-Id: I5e1cdb75b8b4421b2a38fe315f75e11d8ea5de23 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11110 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Dong Yi <dongx.yi@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
show more ...
|
Revision tags: v21.10, v21.10-rc1 |
|
#
84a9119b |
| 23-Sep-2021 |
Michal Berger <michalx.berger@intel.com> |
scripts: Add python script to read SPDK's GPT GUID from device
Signed-off-by: Michal Berger <michalx.berger@intel.com> Change-Id: Ib24714363405f926ac8483244b24296fe35d5a86 Reviewed-on: https://revie
scripts: Add python script to read SPDK's GPT GUID from device
Signed-off-by: Michal Berger <michalx.berger@intel.com> Change-Id: Ib24714363405f926ac8483244b24296fe35d5a86 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9591 Reviewed-by: Konrad Sztyber <konrad.sztyber@gmail.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|