(CCing ceph-users since that is the appropriate forum).

On Mon, Nov 16, 2020 at 4:44 AM liugangbiao@cmss.chinamobile.com <liugangbiao@cmss.chinamobile.com> wrote:
Hi dillaman,

After I set rbd metadata 'conf_rbd_qos_bps_limit'  as blow  (600MB/s), the image size is 1TB

Then I  use 'mkfs.xfs' to format this image, It's stuck for a long time and never return.

After  unset  'conf_rbd_qos_bps_limit',  'mkfs.xfs'  can return successfully, 
The Ceph version is 14.2.10Any suggestion to reslove this porblem?


Have you tried using the "-K" option to "mkfs.xfs" to disable discard at mkfs time? Perhaps it's issuing a discard region bigger than 600MiB?
 
Beset Regards,
LiuGangbiao


--
Jason