On Wed, Jul 18, 2018 at 12:58 PM Nikola Ciprich <nikola.ciprich@xxxxxxxxxxx> wrote:
> What's the output from "rbd info nvme/centos7"?
that was it! the parent had some of unsupported features
enabled, therefore the child could not be mapped..
so the error message is a bit confusing, but now after disabling
the features on the parent it works for me, thanks!
> Odd. The exclusive-lock code is only executed once (in general) upon the
> first write IO (or immediately upon mapping the image if the "exclusive"
> option is passed to the kernel). Therefore, it should have zero impact on
> IO performance.
hmm, then I might have found a bug..
[root@v4a bench1]# sh bench-rbd
Jobs: 8 (f=8): [r(8)][100.0%][r=671MiB/s,w=0KiB/s][r=172k,w=0 IOPS][eta 00m:00s]
Jobs: 8 (f=8): [w(8)][100.0%][r=0KiB/s,w=230MiB/s][r=0,w=58.8k IOPS][eta 00m:00s]
[root@v4a bench1]# rbd feature enable nvme/xxx exclusive-lock
[root@v4a bench1]# sh bench-rbd
Jobs: 8 (f=8): [r(8)][100.0%][r=651MiB/s,w=0KiB/s][r=167k,w=0 IOPS][eta 00m:00s]
Jobs: 8 (f=8): [w(8)][100.0%][r=0KiB/s,w=45.9MiB/s][r=0,w=11.7k IOPS][eta 00m:00s]
(as you can see, the performance impact is even worse..)
I guess I should create a bug report for this one?
Care to share your "bench-rbd" script (on pastebin or similar)?
nik
>
>
> >
> > BR
> >
> > nik
> >
> >
> > --
> > -------------------------------------
> > Ing. Nikola CIPRICH
> > LinuxBox.cz, s.r.o.
> > 28. rijna 168, 709 00 Ostrava
> >
> > tel.: +420 591 166 214
> > fax: +420 596 621 273
> > mobil: +420 777 093 799
> >
> > www.linuxbox.cz
> >
> > mobil servis: +420 737 238 656
> > email servis: servis@xxxxxxxxxxx
> > -------------------------------------
> >
>
>
> --
> Jason
--
-------------------------------------
Ing. Nikola CIPRICH
LinuxBox.cz, s.r.o.
28. rijna 168, 709 00 Ostrava
tel.: +420 591 166 214
fax: +420 596 621 273
mobil: +420 777 093 799
www.linuxbox.cz
mobil servis: +420 737 238 656
email servis: servis@xxxxxxxxxxx
-------------------------------------
Jason
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com