Re: block size question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Killian,

Thanks for your help! I think it's the best to reformat both bcache
devices with block size of 4k in my case where cached device has block
size of 512 and backing device 4k.

Regards,
Vlad.

On 18/05/16 17:46, Killian De Volder wrote:
> Done some testing for you:
> The -B --block size has to be a a power2 of -C --block size.
>
> (Note: all information is about bcache1 not bcachefs if that is what you are talking about)
>
> Killian De Volder
>
>
> On 18-05-16 07:50, Vlad wrote:
>> Hallo,
>>
>> What would be the optimal block size in case if physical block sizes
>> different for cache and backing devices? Can I use different block sizes
>> for cache and backing devices, like:
>> make-bcache --block 4k -B /dev/sdc
>> make-bcache --block 512 -C /dev/sda
>>
>> I have a feeling that the block size should be the same and the biggest
>> block size should be used, but I'd appreciate any thoughts about that.
>>
>> Thanks in advance,
>> Vlad.
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-bcache" in
>> the body of a message to majordomo@xxxxxxxxxxxxxxx
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-bcache" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM Kernel]     [Linux Filesystem Development]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux