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
quincy: os/bluestore: use direct write in BlueStore::_write_bdev_label #48279
Conversation
On AArch64 with kernel page size 64K, it occurs occasionally "OSD::init(): unable to read osd superblock" when deploying osd. As bluestore use direct write to write the superblock at 0x2000~1000 and BlueStore::_write_bdev_label use buffer write to write label at 0x0~1000, The OS flush the buffer write algined to page size, it will overwrite the superblock(0x2000~1000). Use driect write to avoid overwriting the superblock. Fixes: https://tracker.ceph.com/issues/57537 Signed-off-by: luo rixin <luorixin@huawei.com> (cherry picked from commit afdb5e4)
jenkins retest this please |
jenkins test make check |
jenkins retest this please |
1 similar comment
jenkins retest this please |
jenkins test docs |
jenkins test docs |
Hey @ifed01, a new failure reproduced twice in this batch: https://tracker.ceph.com/issues/62401 There were 3 bluestore PRs in the batch, so I will leave a similar message on all of them, as I'm not sure which one could be responsible. Can you take a look and see if it's related? If not, the test results were otherwise clean. Rados suite review here: https://tracker.ceph.com/projects/rados/wiki/QUINCY#httpstrellocomcw1wxAcJO1814-wip-yuri8-testing-2023-07-24-0819-quincy |
Feel free to merge if the above failure is unrelated. |
On AArch64 with kernel page size 64K, it occurs occasionally "OSD::init(): unable to read osd superblock" when deploying osd. As bluestore use direct write to write the superblock at 0x2000
1000 and BlueStore::_write_bdev_label use buffer write to write label at 0x01000, The OS flush the buffer write algined to page size, it will overwrite the superblock(0x2000~1000). Use driect write to avoid overwriting the superblock.Fixes: https://tracker.ceph.com/issues/57688
Signed-off-by: luo rixin luorixin@huawei.com
(cherry picked from commit afdb5e4)
Signed-off-by: Igor Fedotov ifedotov@croit.io
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "pacific"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
Checklist
Show available Jenkins commands
jenkins retest this please
jenkins test classic perf
jenkins test crimson perf
jenkins test signed
jenkins test make check
jenkins test make check arm64
jenkins test submodules
jenkins test dashboard
jenkins test dashboard cephadm
jenkins test api
jenkins test docs
jenkins render docs
jenkins test ceph-volume all
jenkins test ceph-volume tox
jenkins test windows