Re: Question about libcephfs mounting mechanism

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

 



On Thu, 31 May 2012, Nam Dang wrote:
> Dear all,
> 
> I want to inquire on ceph's internal mounting mechanism. I am using
> wip-java-cephfs API to access Ceph internal file system directly.
> I want to create several threads that access cephFS simultaneously and
> independently, i.e. the mounting in each thread is
> independent from the other's, and there is no shared underlying data
> structure. As far as I know, java-ceph does not use shared structure,
> but I'm not so sure about the underlying code in libcephfs though. I'm
> worried that it may be similar to Virtual File System layer, upon
> which multiple threads can access concurrently but internally the
> mounting point is shared. I hope somebody with experience with Ceph
> can help me answer this question.

Each ceph_create() call instantiates a new instance of the client, and 
nothing is shared between clients.  This should get you the behavior 
you're after!

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