Re: [ceph-commit] ceph.git branch librados_api updated. v0.24.3-788-gd15fe7f

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

 



On Fri, 25 Feb 2011, Colin Patrick McCabe wrote:
> rados_ioctx_t seems to describe this object pretty well...
> I would lean away from rados_handle_t because it's too generic
> sounding and could be confused with the cluster_t.

Sounds good to me.  And Rados::Ioctx I guess (IOCtx caps are too annoying 
IMO).

rados_ioctx_{open,close}?

sage


> 
> C.
> 
> 
> On Fri, Feb 25, 2011 at 1:01 PM, Yehuda Sadeh Weinraub
> <yehudasa@xxxxxxxxx> wrote:
> > On Fri, Feb 25, 2011 at 12:57 PM, Sage Weil <sage@xxxxxxxxxxxx> wrote:
> >> On Fri, 25 Feb 2011, Colin Patrick McCabe wrote:
> >>> Another idea: pool_t -> pool_context_t, PoolHandle -> PoolContext
> >>
> >> I prefer rados_ioctx_t or rados_handle_t.. putting pool in the name is
> >> what is confusing (for me).  Which pool you're using is just one (of
> >> potentially many) pieces of context/state associated with the handle.
> >>
> >
> > Yeah. I'd also rename the rados_pool_open()/close() to something else,
> > e.g., rados_open() and rados_close() or rados_x_open() and
> > rados_x_close() where x is not pool.
> >
> > Yehuda
> >
> --
> 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