[dm-devel] [git pull] device mapper changes for 4.21

Linus Torvalds torvalds at linux-foundation.org
Mon Dec 31 00:25:46 UTC 2018


On Sun, Dec 30, 2018 at 11:15 AM Mikulas Patocka <mpatocka at redhat.com> wrote:
>
> But you're right that 2TiB devices are common and that perhaps this option
> should go away.

2TiB devices are definitely not common in the one situation where this
option might matter: small embedded devices.

I don't think the cost of 64 bit is in the arithmetic, but it might be
in some of the data structures.

But my gut feel is that it probably doesn't much matter, and we could
get rid of the config option without anybody ever noticing. I don't
think we have that many data structures with 'sector_t' in them.

We might try to first just force the option on, and see if anybody even cares.

                  Linus




More information about the dm-devel mailing list