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
FileJournal: fix filejournal alignment #7011
Conversation
Are you sure about this? On Linux the O_DIRECT requirement is actually sector alignment (either 512 or 4096). |
@liewegas , I am not sure. There is log in http://tracker.ceph.com/issues/14095 When we use file as journal, it is possible that block_size would be 128k.
|
On 22-12-2015 15:18, Chi Xinze wrote:
This looks to be the output for the problem with alignments I posted. It could be because the backing store I'm running this on is ZFS :) The bug/my problem is fixed by Chi Xinze's patch, and compiled in my WIP. So I'd have to revert, compile and change the blocksize on the --WjW |
need rebase |
Fixes: ceph#14095 Signed-off-by: Xinze Chi <xinze@xsky.com>
f4d5bd0
to
59d777f
Compare
On 22-12-2015 15:18, Chi Xinze wrote:
This Error is back.... :( Not sure since when exactly. But I seem to remember changes being posted to some of the code around And yes, on FreeBSD with ZFS the alignment can be 128K Problem is that I cannot remember what the fix was last time. The only significat diff I can find with versions I saved: *** 1648,1654 **** But I'm not sure that is what disrupted it. --WjW |
On Fri, 12 Feb 2016, Willem Jan Withagen wrote:
I think the fix is to use a smaller block size for the journal. As long FWIW we see the same issue on aarch64 with 64k pages. sage |
On 12-2-2016 19:20, Sage Weil wrote:
I saw the pull.... There is one re-ordering suggestion in the block with asserts. --WjW |
see #7628 |
Fixes: #14095
Signed-off-by: Xinze Chi xinze@xsky.com