Skip to content
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

librbd:optionally support FUA (force unit access) on write requests #22945

Merged
merged 1 commit into from
Jul 14, 2018
Merged

librbd:optionally support FUA (force unit access) on write requests #22945

merged 1 commit into from
Jul 14, 2018

Conversation

cxytt
Copy link

@cxytt cxytt commented Jul 9, 2018

add flag LIBRADOS_OP_FLAG_FADVISE_FUA

@cxytt
Copy link
Author

cxytt commented Jul 9, 2018

@dillaman : make sense?

@dillaman
Copy link

dillaman commented Jul 11, 2018

@cxytt Can you add a "Signed-of-by" line to your commit? It would also be nice to add a unit test to "src/test/librbd/test_librbd.cc" where it opens the same image twice, issues a flush (to switch the cache into writeback mode) and a FUA write on the first image handle and then attempts to immediately read the data using the second image handle.

@dillaman
Copy link

... also add a "Fixes: http://tracker.ceph.com/issues/19366" line to your commit message

@cxytt
Copy link
Author

cxytt commented Jul 12, 2018

@dillaman right, i will fix as you say

Copy link

@dillaman dillaman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants