Re: Make libcephfs return error when unmounted?

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



On Wednesday, April 11, 2012 at 11:25 AM, Noah Watkins wrote:
> 
> On Apr 11, 2012, at 11:22 AM, Greg Farnum wrote:
> 
> > On Wednesday, April 11, 2012 at 11:12 AM, Noah Watkins wrote:
> > > Hi all,
> > > 
> > > -Noah 
> > I'm not sure where the "-1004" came from,
> 
> ceph_mount(..) seems to return some random error codes (-1000, 1001) already :)

<grumble> legacy undocumented grr </grumble>
Let's try to use standard error codes where available, and (if we have to create our own) document any new ones with user-accessible names and explanations. I don't know which one is "best" but I see a lot of applicable choices when scanning errno-base et al.

Also, what Yehuda said. :)
-Greg

--
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


[CEPH Users]     [Information on CEPH]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Free Online Dating]     [Linux Kernel]     [Linux SCSI]     [XFree86]

Add to Google Powered by Linux