admin_socket question

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

 



Hi,

One of the users of cephmetrics has seen issues where the response to
perf dump requests against an osd seems to hang. (issue #91 -
https://github.com/ceph/cephmetrics/issues/91)

When I looked at the admin_command function in ceph[1], it looks to me
that the socket interaction is defaulting to blocking mode? So if
there is a delay in responding, the caller will see this hanging
behaviour that was described in the issue.

If blocking mode is being used, can anyone explain why this is
preferred over a non-blocking approach with 'select'?

Cheers,

Paul C

[1] https://github.com/ceph/ceph/blob/master/src/pybind/ceph_daemon.py
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux