Re: [RFC 3/4] lightnvm: read from rrpc write buffer if possible

2016-02-05 Thread Matias Bjørling
On 02/04/2016 02:08 PM, Javier González wrote: > Since writes are buffered in memory, incoming reads must retrieve > buffered pages instead of submitting the I/O to the media. > > This patch implements this logic. When a read bio arrives to rrpc, valid > pages from the flash blocks residing in

Re: [RFC 3/4] lightnvm: read from rrpc write buffer if possible

2016-02-05 Thread Matias Bjørling
On 02/04/2016 02:08 PM, Javier González wrote: > Since writes are buffered in memory, incoming reads must retrieve > buffered pages instead of submitting the I/O to the media. > > This patch implements this logic. When a read bio arrives to rrpc, valid > pages from the flash blocks residing in

[RFC 3/4] lightnvm: read from rrpc write buffer if possible

2016-02-04 Thread Javier González
Since writes are buffered in memory, incoming reads must retrieve buffered pages instead of submitting the I/O to the media. This patch implements this logic. When a read bio arrives to rrpc, valid pages from the flash blocks residing in memory are copied. If there are any "holes" in the bio, a

[RFC 3/4] lightnvm: read from rrpc write buffer if possible

2016-02-04 Thread Javier González
Since writes are buffered in memory, incoming reads must retrieve buffered pages instead of submitting the I/O to the media. This patch implements this logic. When a read bio arrives to rrpc, valid pages from the flash blocks residing in memory are copied. If there are any "holes" in the bio, a