On Sat, Jun 17, 2017 at 11:50 AM, Willem Jan Withagen <wjw@xxxxxxxxxxx> wrote: > Hi, > > I think I've found the first fact where the errno translation (ceph -> > hostos -> client-ceph ) goes wrong.... > > Repeatedly I get the following error: > 116: > /home/jenkins/workspace/ceph-master/src/test/libradosstriper/rados-striper.sh:42: > run: rados --pool rbd --striper put toy > file td/rados-striper/toyfile > 116: 2017-06-17 12:32:05.290234 810016000 -1 libradosstriper: > RadosStriperImpl::openStripedObjectForWrite : could not set new s > ize for toyfile : rc = -125error putting rbd/toyfile: (125) Unknown > error: 125 > > 125 is ECANCELD on Linux > but FreeBSD > #define ECANCELED 85 /* Operation canceled */ > > So probably the server returns ECANCELD in network format (125) > but the client does not translate back... Somewhat related perhaps: people running cephfs on ARM recently had this problem, for that case the solution was simply to define in Ceph some constants that mirror the linux ones, see commit 88d2da5e9. John > Now if I want to have some logging for this in Freebsd_errno.cc > What is the easiest way to get something in the logs? > What descriptor is available there? > > --WjW > -- > 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 -- 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