Re: NewStore update

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

 



On Sat, 21 Feb 2015, Christoph Hellwig wrote:
> On Thu, Feb 19, 2015 at 03:50:45PM -0800, Sage Weil wrote:
> >  - assemble the transaction
> >  - start any aio writes (we could use O_DIRECT here if the new hints 
> > include WONTNEED?)
> 
> Note that kernel aio only is async if you specifiy O_DIRECT, otherwise
> io_submit will simply block.

Ah, thanks. I guess in the buffered case though we won't block normally 
anyway (unless we've hit the bdi dirty threshold).  So it's probably 
either aio direct or buffered write + aio fsync, depending on the cache 
hints?

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