-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Io forward pt2 #831
Io forward pt2 #831
Commits on Sep 20, 2024
-
Introduce ocf_forward_write_zeros()
This is meant to be used in atomic mode to avoid allocating huge buffers for zeroing data on drive. Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com> Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
Configuration menu - View commit details
-
Copy full SHA for cd544e8 - Browse repository at this point
Copy the full SHA cd544e8View commit details -
composite: Add forward_write_zeros support
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com> Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
Configuration menu - View commit details
-
Copy full SHA for 17144e5 - Browse repository at this point
Copy the full SHA 17144e5View commit details -
Introduce ocf_forward_metadata()
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com> Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
Configuration menu - View commit details
-
Copy full SHA for 5859e43 - Browse repository at this point
Copy the full SHA 5859e43View commit details -
composite: Add forward_metadata support
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com> Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
Configuration menu - View commit details
-
Copy full SHA for 07abdf5 - Browse repository at this point
Copy the full SHA 07abdf5View commit details -
Introduce ocf_req_forward_volume_*()
Those are meant to be used in context where no cache nor queue is available (typically at very early stage of initialization). We reuse cache_forward* callback and counter, because they will not be used in this context anyway. Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com> Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
Configuration menu - View commit details
-
Copy full SHA for 54f75ba - Browse repository at this point
Copy the full SHA 54f75baView commit details -
Introduce ocf_forward_get_data()
Skip the ocf_io abstraction and get the data directly from the request. Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com> Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
Configuration menu - View commit details
-
Copy full SHA for 6aa141c - Browse repository at this point
Copy the full SHA 6aa141cView commit details -
Replace ocf_forward_get_io() with more specific ops
struct ocf_io is going to be removed soon (consolidated with ocf_request). Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com> Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
Configuration menu - View commit details
-
Copy full SHA for 2d303e8 - Browse repository at this point
Copy the full SHA 2d303e8View commit details -
composite: Add forward_io_simple support
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com> Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
Configuration menu - View commit details
-
Copy full SHA for 1f26ceb - Browse repository at this point
Copy the full SHA 1f26cebView commit details -
It's intended to be used in a context, where cache is not initialized and the io_queue is not available yet. Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com> Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
Configuration menu - View commit details
-
Copy full SHA for 1c2d5bb - Browse repository at this point
Copy the full SHA 1c2d5bbView commit details -
Replace submit with forward in mngt
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com> Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
Configuration menu - View commit details
-
Copy full SHA for 8347868 - Browse repository at this point
Copy the full SHA 8347868View commit details -
Replace submit with forward in cleaner
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com> Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
Configuration menu - View commit details
-
Copy full SHA for 322ae26 - Browse repository at this point
Copy the full SHA 322ae26View commit details -
Replace submit with forward in standby
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com> Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
Configuration menu - View commit details
-
Copy full SHA for 29ca8fb - Browse repository at this point
Copy the full SHA 29ca8fbView commit details -
Replace submit with forward in metadata_io
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com> Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
Configuration menu - View commit details
-
Copy full SHA for af3b379 - Browse repository at this point
Copy the full SHA af3b379View commit details -
Replace submit with forward in metadata_raw_atomic
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com> Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
Configuration menu - View commit details
-
Copy full SHA for 9404716 - Browse repository at this point
Copy the full SHA 9404716View commit details -
Replace submit with forward in ocf_metadata_read_sb()
This one is quite special, because it can be called before cache is instantiated, which means we can not allocate the request using ocf_req_new_mngt() due to absence of mngt_queue. For that reason we simply allocate request using env_zalloc() and then release it with env_free(). The lifecycle of the request is very straightforward and the only used fields are forward counter and callback. Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com> Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
Configuration menu - View commit details
-
Copy full SHA for 39d566c - Browse repository at this point
Copy the full SHA 39d566cView commit details -
Drop support for submit_* ops in backend volumes
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com> Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
Configuration menu - View commit details
-
Copy full SHA for 7fb6b62 - Browse repository at this point
Copy the full SHA 7fb6b62View commit details -
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com> Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
Configuration menu - View commit details
-
Copy full SHA for c5741df - Browse repository at this point
Copy the full SHA c5741dfView commit details -
pyocf: Update tests after the API changes
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com> Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
Configuration menu - View commit details
-
Copy full SHA for be0ad8f - Browse repository at this point
Copy the full SHA be0ad8fView commit details -
Redirect ocf_volume_submit_* operations to forward
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com> Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
Configuration menu - View commit details
-
Copy full SHA for ff5c20b - Browse repository at this point
Copy the full SHA ff5c20bView commit details -
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com> Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
Configuration menu - View commit details
-
Copy full SHA for f72b922 - Browse repository at this point
Copy the full SHA f72b922View commit details -
example: simple: Update after removing struct ocf_io
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com> Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
Configuration menu - View commit details
-
Copy full SHA for 6392cce - Browse repository at this point
Copy the full SHA 6392cceView commit details -
pyocf: Update after removing struct ocf_io
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com> Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
Configuration menu - View commit details
-
Copy full SHA for 9b7f476 - Browse repository at this point
Copy the full SHA 9b7f476View commit details -
tests: pyocf: Remove legacy submit_* ops implementation from volumes
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
Configuration menu - View commit details
-
Copy full SHA for d8d7504 - Browse repository at this point
Copy the full SHA d8d7504View commit details -
Consolidate ocf_request_io and ocf_request - io properties
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com> Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
Configuration menu - View commit details
-
Copy full SHA for 3fbb757 - Browse repository at this point
Copy the full SHA 3fbb757View commit details