forked from openebs/mayastor
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
During testing and performance benchmarking, it showed that when we create an lvol, it does not support flush. The bdev then is exported as a target -- over nvmf and consumed as replica. By virtue of it being a nvme bdev, it implicitly supports flush, which our lvol does not handle. We must support flush and thus, simply complete the IO. While here, i've removed some of the raw pointer deferences.
- Loading branch information
Showing
3 changed files
with
134 additions
and
165 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.