You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When loading a logical volume store, spdk reads extent pages 3 time for a blob:
spdk_lvs_load calls spdk_bs_load which iterates all blobs and read blob extent pages.
load_next_lvol will read blob extent pages again.
spdk_bs_bdev_claim reads blob extent pages for the third time.
Use default options to create a logical volume store:
For a big lv, such as 48T, it will use 24576 extent pages. so it will take a certain amount of time to read extent pages for three times.
Expected Behavior
When loading a logical volume store, spdk should only read extent pages one time for a blob:
Current Behavior
spdk reads extent pages 3 time for a blob When loading a logical volume store,
Possible Solution
Reduce the number of reads to 1, but don't know how to improve it now :)
Steps to Reproduce
start spdk_tgt, and enable debug log
create an aio block device
create lvstore on the aio bdev
create a lv with size of 48T
delete the aio bdev
create the aio bdev again.
from the message. the blob is opened for three times and closed two times.
And extent pages of the blobs are read for three time also.
Context (Environment including OS version, SPDK version, etc.)
AlmaLinux 8.6, SPDK 24.01
The text was updated successfully, but these errors were encountered:
[Bug scrub] lvolstore definitely iterates through all of the blobs on load, but it is not expected that all of the extent pages would be read three times - it should just be once.
@tomzawadzki could you take a look at this, to see if you can reproduce three loads of all of the metadata?
Sighting report
When loading a logical volume store, spdk reads extent pages 3 time for a blob:
Use default options to create a logical volume store:
For a big lv, such as 48T, it will use 24576 extent pages. so it will take a certain amount of time to read extent pages for three times.
Expected Behavior
When loading a logical volume store, spdk should only read extent pages one time for a blob:
Current Behavior
spdk reads extent pages 3 time for a blob When loading a logical volume store,
Possible Solution
Reduce the number of reads to 1, but don't know how to improve it now :)
Steps to Reproduce
from the message. the blob is opened for three times and closed two times.
And extent pages of the blobs are read for three time also.
Context (Environment including OS version, SPDK version, etc.)
AlmaLinux 8.6, SPDK 24.01
The text was updated successfully, but these errors were encountered: