[yast-devel] Storage-ng: bcache in non-x86_64 architectures
For those involved in the bcache support in storage-ng, this is Coly's answer to the question about the current status in all archs. -------- Forwarded Message -------- Subject: Re: Fate#325346 - bcache in non-x86_64 architectures Date: Sat, 2 Feb 2019 00:35:11 +0800 From: Coly Li <ourbcacheperson@abc.de> On 2019/2/1 5:56 下午, Ancor Gonzalez Sosa wrote:
By the way, Coly, I have a question about that. Assuming bcache is not production-ready in all architectures (which may be true or not, that's still an open question) - Are the bcache-tools available in all architectures, including those in which the technology doesn't work that well?
Bcache-tools can run on non-x86_64 platform, at least other people and I run them on s390x. The problem is, bcache code, everywhere, assume the machine is x86_64, even in formatting a bcache device, it does not handle bit order in meta data structures, and the checksum calculation order is wrong on big endian machines. So I would answer, bcache tools can run on all architectures, but they are only available (behave correctly) on x86_64 at this moment. Thanks. -- Coly Li -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
So, due to the tools are available for all architectures, I guess we should not limit Bcache to x86. Of course, we would receive bugs because bcache tools does not behave correctly, but we could simply forward such bugs to bcache. Another option would be to restrict bcache actions only to x86. For the rest of archs, bcache devices would only be listed, but no actions could be performed over them. Opinions? On 2/1/19 4:48 PM, Ancor Gonzalez Sosa wrote:
For those involved in the bcache support in storage-ng, this is Coly's answer to the question about the current status in all archs.
-------- Forwarded Message -------- Subject: Re: Fate#325346 - bcache in non-x86_64 architectures Date: Sat, 2 Feb 2019 00:35:11 +0800 From: Coly Li <ourbcacheperson@abc.de>
On 2019/2/1 5:56 下午, Ancor Gonzalez Sosa wrote:
By the way, Coly, I have a question about that. Assuming bcache is not production-ready in all architectures (which may be true or not, that's still an open question) - Are the bcache-tools available in all architectures, including those in which the technology doesn't work that well?
Bcache-tools can run on non-x86_64 platform, at least other people and I run them on s390x. The problem is, bcache code, everywhere, assume the machine is x86_64, even in formatting a bcache device, it does not handle bit order in meta data structures, and the checksum calculation order is wrong on big endian machines. So I would answer, bcache tools can run on all architectures, but they are only available (behave correctly) on x86_64 at this moment.
Thanks.
-- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
On 2/4/19 9:04 AM, José Iván López González wrote:
So, due to the tools are available for all architectures, I guess we should not limit Bcache to x86. Of course, we would receive bugs because bcache tools does not behave correctly, but we could simply forward such bugs to bcache. Another option would be to restrict bcache actions only to x86.
The options must be restricted. This is the Product Management answer to the current status of bcache tools:
- we *must not* build the tools on non_x86_64 - we must open feature requests in JIRA for s390 - we must open feature request for ARM and power
So don't even expect bcache-tools to be available in the short term.
Fr the rest of archs, bcache devices would only be listed> but no actions could be performed over them. Opinions?
No actions allowed. That's for sure. About displaying it, that's a more complex question. Cheers.
On 2/1/19 4:48 PM, Ancor Gonzalez Sosa wrote:
For those involved in the bcache support in storage-ng, this is Coly's answer to the question about the current status in all archs.
-------- Forwarded Message -------- Subject: Re: Fate#325346 - bcache in non-x86_64 architectures Date: Sat, 2 Feb 2019 00:35:11 +0800 From: Coly Li <ourbcacheperson@abc.de>
On 2019/2/1 5:56 下午, Ancor Gonzalez Sosa wrote:
By the way, Coly, I have a question about that. Assuming bcache is not production-ready in all architectures (which may be true or not, that's still an open question) - Are the bcache-tools available in all architectures, including those in which the technology doesn't work that well?
Bcache-tools can run on non-x86_64 platform, at least other people and I run them on s390x. The problem is, bcache code, everywhere, assume the machine is x86_64, even in formatting a bcache device, it does not handle bit order in meta data structures, and the checksum calculation order is wrong on big endian machines. So I would answer, bcache tools can run on all architectures, but they are only available (behave correctly) on x86_64 at this moment.
Thanks.
-- Ancor González Sosa YaST Team at SUSE Linux GmbH -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
participants (2)
-
Ancor Gonzalez Sosa
-
José Iván López González