On Tue, May 27, 2014 at 2:55 AM, Nulik Nol <nuliknol at gmail.com> wrote: > Hi, I am developing an application in C and it opens, reads, writes > and closes many files, kind of like a custom database. I am using > Linux's io_submit() system call, so all the read()/write() operations > are asynchronous. But I don't know about the open() system call, so I > have the following questions to the group: > > 1) Will the open() block if Ceph's cluster goes off line completely ? yes. > I understand the write() or read() will, but I am not worried because > it is done with io_submit(), no locking will occur in my application. > 2) Will I experience some delay during the execution of open() system > call even if it is called with O_NONBLIOCK flag and Ceph's cluster > working without failures ? yes. > > Thanks in advance > Nulik > _______________________________________________ > ceph-users mailing list > ceph-users at lists.ceph.com > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com