From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: [PATCHSET v2] Add support for write life time hints To: Christoph Hellwig Cc: Andreas Dilger , Martin Petersen , fsdevel , linux-block References: <1497412919-19400-1-git-send-email-axboe@kernel.dk> <20170614160127.GA30644@infradead.org> <20382261-3180-41F0-B959-9181C2FF4BAA@dilger.ca> <9e152ed7-ed49-bb62-902c-0daac7646a86@kernel.dk> <20170616135803.GA808@infradead.org> From: Jens Axboe Message-ID: <7007ef51-660a-29da-86d3-e7308d4ad08c@kernel.dk> Date: Fri, 16 Jun 2017 08:40:11 -0600 MIME-Version: 1.0 In-Reply-To: <20170616135803.GA808@infradead.org> Content-Type: text/plain; charset=utf-8 List-ID: On 06/16/2017 07:58 AM, Christoph Hellwig wrote: >> >From my perspective, all I really care about is the 4 hints. It's a >> simple enough interface that applications can understand and use it, and >> we don't need any management of actual stream IDs. I think that has the >> highest chance of success. Modifying an application to use it is >> trivial, even something like RocksDB (if you havehad to make changes >> to RocksDB, you'll get this). > > Btw, are your current RocksDB patches available somewhere? Yep, it's on Mark Callaghan's github: https://github.com/mdcallag/rocksdb This is using mostly the v1 I posted, the only difference is that I just named the four flags RWF_S[1-4]. -- Jens Axboe