All of lore.kernel.org
 help / color / mirror / Atom feed
* rbd-nbd 2T limit
@ 2017-03-09  3:38 Max Yehorov
  2017-03-09  7:14 ` Henrik Korkuc
  0 siblings, 1 reply; 3+ messages in thread
From: Max Yehorov @ 2017-03-09  3:38 UTC (permalink / raw)
  To: ceph-devel

I was reading through release notes for 10.2.6 and there was a ticket

rbd: rbd-nbd: disallow mapping images >2TB in size (issue#17219,
pr#11870, Mykola Golub)

default nbd block size is 1k, valid values are from 512 to PAGE_SIZE

rbd_nbd.cc sets blocksize to 512 here:
https://github.com/ceph/ceph/blob/master/src/tools/rbd_nbd/rbd-nbd.cc#L635

Why 512 was chosen for rbd_nbd?
krbd also uses 512 sector size. Is there a reason to use 512 block
size vs 4k AF?

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-03-10  7:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-09  3:38 rbd-nbd 2T limit Max Yehorov
2017-03-09  7:14 ` Henrik Korkuc
2017-03-10  7:53   ` Mykola Golub

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.