On Tue, 20 Oct 2015, Jason Dillaman wrote: > There is no such interface currently on the librados / OSD side to abort > IO operations. Can you provide some background on your use-case for > aborting in-flight IOs? The internal Objecter has a cancel interface, but it can't yank back buffers, and it's not exposed to librados. But... if you're using librados or librbd then I think we're making a copy of the buffer anyway so you can reuse it as soon as the IO is submitted. Unless you're using the C++ librados API and submitting a bufferlist? sage > -- > > Jason Dillaman > > > ----- Original Message ----- > > > From: "min fang" <louisfang2013@xxxxxxxxx> > > To: ceph-users@xxxxxxxxxxxxxx > > Sent: Monday, October 19, 2015 6:41:40 PM > > Subject: How ceph client abort IO > > > Can librbd interface provide abort api for aborting IO? If yes, can the abort > > interface detach write buffer immediately? I hope can reuse the write buffer > > quickly after issued the abort request, while not waiting IO aborted in osd > > side. > > > thanks. > > > _______________________________________________ > > ceph-users mailing list > > ceph-users@xxxxxxxxxxxxxx > > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > _______________________________________________ > ceph-users mailing list > ceph-users@xxxxxxxxxxxxxx > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > > _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com