Re: fixing 4.14-stable's broken DM cache writethrough support [was: Re: [(resend) PATCH v3: {linux-4.14.y} ] dm cache: submit writethrough writes in parallel to origin and cache]

2020-08-20 Thread Greg KH
On Wed, Aug 05, 2020 at 03:34:09PM -0400, Mike Snitzer wrote: > On Wed, Aug 05 2020 at 10:32am -0400, > Greg KH wrote: > > > On Tue, Aug 04, 2020 at 02:20:38PM -0400, Mike Snitzer wrote: > > > On Tue, Aug 04 2020 at 8:47am -0400, > > > Greg KH wrote: > > > > > > > On Tue, Aug 04, 2020 at 07:33

Re: [(resend) PATCH v3: {linux-4.14.y} ] dm cache: submit writethrough writes in parallel to origin and cache

2020-08-05 Thread Greg KH
On Tue, Aug 04, 2020 at 02:20:38PM -0400, Mike Snitzer wrote: > On Tue, Aug 04 2020 at 8:47am -0400, > Greg KH wrote: > > > On Tue, Aug 04, 2020 at 07:33:05AM -0500, John Donnelly wrote: > > > From: Mike Snitzer > > > > > > Discontinue issuing writethrough write IO in series to the origin and

fixing 4.14-stable's broken DM cache writethrough support [was: Re: [(resend) PATCH v3: {linux-4.14.y} ] dm cache: submit writethrough writes in parallel to origin and cache]

2020-08-05 Thread Mike Snitzer
On Wed, Aug 05 2020 at 10:32am -0400, Greg KH wrote: > On Tue, Aug 04, 2020 at 02:20:38PM -0400, Mike Snitzer wrote: > > On Tue, Aug 04 2020 at 8:47am -0400, > > Greg KH wrote: > > > > > On Tue, Aug 04, 2020 at 07:33:05AM -0500, John Donnelly wrote: > > > > From: Mike Snitzer > > > > > > > >

Re: [(resend) PATCH v3: {linux-4.14.y} ] dm cache: submit writethrough writes in parallel to origin and cache

2020-08-04 Thread Mike Snitzer
On Tue, Aug 04 2020 at 8:47am -0400, Greg KH wrote: > On Tue, Aug 04, 2020 at 07:33:05AM -0500, John Donnelly wrote: > > From: Mike Snitzer > > > > Discontinue issuing writethrough write IO in series to the origin and > > then cache. > > > > Use bio_clone_fast() to create a new origin clone b

Re: [(resend) PATCH v3: {linux-4.14.y} ] dm cache: submit writethrough writes in parallel to origin and cache

2020-08-04 Thread Greg KH
.kernel.org/r/8CFF8DA9-C105-461C-8F5A-DA2BF448A135%40oracle.com Grabbing thread from lore.kernel.org/lkml Analyzing 1 messages in the thread --- Writing ./20200804_john_p_donnelly_dm_cache_submit_writethrough_writes_in_parallel_to_origin_and_cache.mbx [(resend) PATCH v3: {linux-4.14.y} ] dm cache: submit writethrough writes in parallel to origin and cache --- Total patche

[(resend) PATCH v3: {linux-4.14.y} ] dm cache: submit writethrough writes in parallel to origin and cache

2020-08-04 Thread John Donnelly
From: Mike Snitzer Discontinue issuing writethrough write IO in series to the origin and then cache. Use bio_clone_fast() to create a new origin clone bio that will be mapped to the origin device and then bio_chain() it to the bio that gets remapped to the cache device. The origin clone bio doe