All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@fb.com>
To: Philipp Reisner <philipp.reisner@linbit.com>,
	<linux-kernel@vger.kernel.org>
Cc: <drbd-dev@lists.linbit.com>
Subject: Re: [PATCH 00/30] DRBD updates
Date: Mon, 13 Jun 2016 09:11:46 -0600	[thread overview]
Message-ID: <575ECD32.2080700@fb.com> (raw)
In-Reply-To: <1465826958-19398-1-git-send-email-philipp.reisner@linbit.com>

On 06/13/2016 08:08 AM, Philipp Reisner wrote:
> Hi Jens,
>
> I have sent this already on April 25, I guess it was too late in the cycle
> at that time. Apart from the usual maintenance and bug fixes this time comes
> support for WRITE_SAME and lots of improvements for DISCARD.
>
> At that time we had a discussion about (1) the all_zero() heuristic introduced
> with [PATCH 04/30] drbd: Implement handling of thinly provisioned storage...
> not being efficient, and about the (2) rs-discard-granularity configuration
> parameter.
>
> Regarding (1): I intend to work on block-devices being able to export their
> allocation map by either FIEMAP or SEEK_HOLE/SEEK_DATA or both for the next
> cycle. The I will change DRBD to use that as well.
>
> Regarding (2): We need to announce the discard granularity when we create the
> device/minor. At might it might be that there is no connection to the peer
> node. So we are left with information about the discard granularity of the
> local backing device only. Therefore we decided to delegate it to the
> user/admin to provide the discard granularity for the resync process.
>
>
> Please add it to your for-4.8/drivers branch.

If you want me to add it to that branch (which is where it should go), 
then why aren't the patches against that branch? I get rejects on 
several of the patches, mainly because they are not done on top of this 
particular branch.

We can do two things here. I can skip patches, I don't like doing that. 
Or you can respin against the proper branch, as it should have been from 
the beginning. What do you want to do?

-- 
Jens Axboe

  parent reply	other threads:[~2016-06-13 15:12 UTC|newest]

Thread overview: 125+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-13 14:08 [Drbd-dev] [PATCH 00/30] DRBD updates Philipp Reisner
2016-06-13 14:08 ` Philipp Reisner
2016-06-13 14:08 ` [Drbd-dev] [PATCH 01/30] drbd: bitmap bulk IO: do not always suspend IO Philipp Reisner
2016-06-13 14:08   ` Philipp Reisner
2016-06-13 14:08 ` [Drbd-dev] [PATCH 02/30] drbd: change bitmap write-out when leaving resync states Philipp Reisner
2016-06-13 14:08   ` Philipp Reisner
2016-06-13 14:08 ` [Drbd-dev] [PATCH 03/30] drbd: Kill code duplication Philipp Reisner
2016-06-13 14:08   ` Philipp Reisner
2016-06-13 14:08 ` [Drbd-dev] [PATCH 04/30] drbd: Implement handling of thinly provisioned storage on resync target nodes Philipp Reisner
2016-06-13 14:08   ` Philipp Reisner
2016-06-13 14:08 ` [Drbd-dev] [PATCH 05/30] drbd: Introduce new disk config option rs-discard-granularity Philipp Reisner
2016-06-13 14:08   ` Philipp Reisner
2016-06-13 14:08 ` [Drbd-dev] [PATCH 06/30] drbd: Create the protocol feature THIN_RESYNC Philipp Reisner
2016-06-13 14:08   ` Philipp Reisner
2016-06-13 14:08 ` [Drbd-dev] [PATCH 07/30] drbd: adjust assert in w_bitmap_io to account for BM_LOCKED_CHANGE_ALLOWED Philipp Reisner
2016-06-13 14:08   ` Philipp Reisner
2016-06-13 14:08 ` [Drbd-dev] [PATCH 08/30] drbd: fix regression: protocol A sometimes synchronous, C sometimes double-latency Philipp Reisner
2016-06-13 14:08   ` Philipp Reisner
2016-06-13 14:08 ` [Drbd-dev] [PATCH 09/30] drbd: fix for truncated minor number in callback command line Philipp Reisner
2016-06-13 14:08   ` Philipp Reisner
2016-06-13 14:08 ` [Drbd-dev] [PATCH 10/30] drbd: allow parallel flushes for multi-volume resources Philipp Reisner
2016-06-13 14:08   ` Philipp Reisner
2016-06-13 14:08 ` [Drbd-dev] [PATCH 11/30] drbd: when receiving P_TRIM, zero-out partial unaligned chunks Philipp Reisner
2016-06-13 14:08   ` Philipp Reisner
2016-06-13 14:09 ` [Drbd-dev] [PATCH 12/30] drbd: possibly disable discard support, if backend has discard_zeroes_data=0 Philipp Reisner
2016-06-13 14:09   ` Philipp Reisner
2016-06-13 14:09 ` [Drbd-dev] [PATCH 13/30] drbd: zero-out partial unaligned discards on local backend Philipp Reisner
2016-06-13 14:09   ` Philipp Reisner
2016-06-13 14:09 ` [Drbd-dev] [PATCH 14/30] drbd: allow larger max_discard_sectors Philipp Reisner
2016-06-13 14:09   ` Philipp Reisner
2016-06-13 14:09 ` [Drbd-dev] [PATCH 15/30] drbd: finish resync on sync source only by notification from sync target Philipp Reisner
2016-06-13 14:09   ` Philipp Reisner
2016-06-13 14:09 ` [Drbd-dev] [PATCH 16/30] drbd: introduce unfence-peer handler Philipp Reisner
2016-06-13 14:09   ` Philipp Reisner
2016-06-13 14:09 ` [Drbd-dev] [PATCH 17/30] drbd: don't forget error completion when "unsuspending" IO Philipp Reisner
2016-06-13 14:09   ` Philipp Reisner
2016-06-13 14:09 ` [Drbd-dev] [PATCH 18/30] drbd: if there is no good data accessible, writes should be IO errors Philipp Reisner
2016-06-13 14:09   ` Philipp Reisner
2016-06-13 14:09 ` [Drbd-dev] [PATCH 19/30] drbd: only restart frozen disk io when D_UP_TO_DATE Philipp Reisner
2016-06-13 14:09   ` Philipp Reisner
2016-06-13 14:09 ` [Drbd-dev] [PATCH 20/30] drbd: discard_zeroes_if_aligned allows "thin" resync for discard_zeroes_data=0 Philipp Reisner
2016-06-13 14:09   ` Philipp Reisner
2016-06-13 14:09 ` [Drbd-dev] [PATCH 21/30] drbd: report sizes if rejecting too small peer disk Philipp Reisner
2016-06-13 14:09   ` Philipp Reisner
2016-06-13 14:09 ` [Drbd-dev] [PATCH 22/30] drbd: introduce WRITE_SAME support Philipp Reisner
2016-06-13 14:09   ` Philipp Reisner
2016-06-13 14:09 ` [Drbd-dev] [PATCH 23/30] drbd: sync_handshake: handle identical uuids with current (frozen) Primary Philipp Reisner
2016-06-13 14:09   ` Philipp Reisner
2016-06-13 14:09 ` [Drbd-dev] [PATCH 24/30] drbd: disallow promotion during resync handshake, avoid deadlock and hard reset Philipp Reisner
2016-06-13 14:09   ` Philipp Reisner
2016-06-13 14:09 ` [Drbd-dev] [PATCH 25/30] drbd: bump current uuid when resuming IO with diskless peer Philipp Reisner
2016-06-13 14:09   ` Philipp Reisner
2016-06-13 14:09 ` [Drbd-dev] [PATCH 26/30] drbd: code cleanups without semantic changes Philipp Reisner
2016-06-13 14:09   ` Philipp Reisner
2016-06-13 14:09 ` [Drbd-dev] [PATCH 27/30] drbd: get rid of empty statement in is_valid_state Philipp Reisner
2016-06-13 14:09   ` Philipp Reisner
2016-06-13 14:09 ` [Drbd-dev] [PATCH 28/30] drbd: finally report ms, not jiffies, in log message Philipp Reisner
2016-06-13 14:09   ` Philipp Reisner
2016-06-13 14:09 ` [Drbd-dev] [PATCH 29/30] drbd: al_write_transaction: skip re-scanning of bitmap page pointer array Philipp Reisner
2016-06-13 14:09   ` Philipp Reisner
2016-06-13 14:09 ` [Drbd-dev] [PATCH 30/30] drbd: correctly handle failed crypto_alloc_hash Philipp Reisner
2016-06-13 14:09   ` Philipp Reisner
2016-06-13 15:11 ` Jens Axboe [this message]
2016-06-13 22:26   ` [Drbd-dev] [PATCH 00/30] DRBD updates Philipp Reisner
2016-06-13 22:26     ` Philipp Reisner
2016-06-13 22:26   ` [Drbd-dev] [PATCH 01/30] drbd: bitmap bulk IO: do not always suspend IO Philipp Reisner
2016-06-13 22:26     ` Philipp Reisner
2016-06-13 22:26   ` [Drbd-dev] [PATCH 02/30] drbd: change bitmap write-out when leaving resync states Philipp Reisner
2016-06-13 22:26     ` Philipp Reisner
2016-06-13 22:26   ` [Drbd-dev] [PATCH 03/30] drbd: Kill code duplication Philipp Reisner
2016-06-13 22:26     ` Philipp Reisner
2016-06-13 22:26   ` [Drbd-dev] [PATCH 04/30] drbd: Implement handling of thinly provisioned storage on resync target nodes Philipp Reisner
2016-06-13 22:26     ` Philipp Reisner
2016-06-13 22:26   ` [Drbd-dev] [PATCH 05/30] drbd: Introduce new disk config option rs-discard-granularity Philipp Reisner
2016-06-13 22:26     ` Philipp Reisner
2016-06-13 22:26   ` [Drbd-dev] [PATCH 06/30] drbd: Create the protocol feature THIN_RESYNC Philipp Reisner
2016-06-13 22:26     ` Philipp Reisner
2016-06-13 22:26   ` [Drbd-dev] [PATCH 07/30] drbd: adjust assert in w_bitmap_io to account for BM_LOCKED_CHANGE_ALLOWED Philipp Reisner
2016-06-13 22:26     ` Philipp Reisner
2016-06-13 22:26   ` [Drbd-dev] [PATCH 08/30] drbd: fix regression: protocol A sometimes synchronous, C sometimes double-latency Philipp Reisner
2016-06-13 22:26     ` Philipp Reisner
2016-06-13 22:26   ` [Drbd-dev] [PATCH 09/30] drbd: fix for truncated minor number in callback command line Philipp Reisner
2016-06-13 22:26     ` Philipp Reisner
2016-06-13 22:26   ` [Drbd-dev] [PATCH 10/30] drbd: allow parallel flushes for multi-volume resources Philipp Reisner
2016-06-13 22:26     ` Philipp Reisner
2016-06-13 22:26   ` [Drbd-dev] [PATCH 11/30] drbd: when receiving P_TRIM, zero-out partial unaligned chunks Philipp Reisner
2016-06-13 22:26     ` Philipp Reisner
2016-06-13 22:26   ` [Drbd-dev] [PATCH 12/30] drbd: possibly disable discard support, if backend has discard_zeroes_data=0 Philipp Reisner
2016-06-13 22:26     ` Philipp Reisner
2016-06-13 22:26   ` [Drbd-dev] [PATCH 13/30] drbd: zero-out partial unaligned discards on local backend Philipp Reisner
2016-06-13 22:26     ` Philipp Reisner
2016-06-13 22:26   ` [Drbd-dev] [PATCH 14/30] drbd: allow larger max_discard_sectors Philipp Reisner
2016-06-13 22:26     ` Philipp Reisner
2016-06-13 22:26   ` [Drbd-dev] [PATCH 15/30] drbd: finish resync on sync source only by notification from sync target Philipp Reisner
2016-06-13 22:26     ` Philipp Reisner
2016-06-13 22:26   ` [Drbd-dev] [PATCH 16/30] drbd: introduce unfence-peer handler Philipp Reisner
2016-06-13 22:26     ` Philipp Reisner
2016-06-13 22:26   ` [Drbd-dev] [PATCH 17/30] drbd: don't forget error completion when "unsuspending" IO Philipp Reisner
2016-06-13 22:26     ` Philipp Reisner
2016-06-13 22:26   ` [Drbd-dev] [PATCH 18/30] drbd: if there is no good data accessible, writes should be IO errors Philipp Reisner
2016-06-13 22:26     ` Philipp Reisner
2016-06-13 22:26   ` [Drbd-dev] [PATCH 19/30] drbd: only restart frozen disk io when D_UP_TO_DATE Philipp Reisner
2016-06-13 22:26     ` Philipp Reisner
2016-06-13 22:26   ` [Drbd-dev] [PATCH 20/30] drbd: discard_zeroes_if_aligned allows "thin" resync for discard_zeroes_data=0 Philipp Reisner
2016-06-13 22:26     ` Philipp Reisner
2016-06-13 22:26   ` [Drbd-dev] [PATCH 21/30] drbd: report sizes if rejecting too small peer disk Philipp Reisner
2016-06-13 22:26     ` Philipp Reisner
2016-06-13 22:26   ` [Drbd-dev] [PATCH 22/30] drbd: introduce WRITE_SAME support Philipp Reisner
2016-06-13 22:26     ` Philipp Reisner
2016-06-13 22:26   ` [Drbd-dev] [PATCH 23/30] drbd: sync_handshake: handle identical uuids with current (frozen) Primary Philipp Reisner
2016-06-13 22:26     ` Philipp Reisner
2016-06-13 22:26   ` [Drbd-dev] [PATCH 24/30] drbd: disallow promotion during resync handshake, avoid deadlock and hard reset Philipp Reisner
2016-06-13 22:26     ` Philipp Reisner
2016-06-13 22:26   ` [Drbd-dev] [PATCH 25/30] drbd: bump current uuid when resuming IO with diskless peer Philipp Reisner
2016-06-13 22:26     ` Philipp Reisner
2016-06-13 22:26   ` [Drbd-dev] [PATCH 26/30] drbd: code cleanups without semantic changes Philipp Reisner
2016-06-13 22:26     ` Philipp Reisner
2016-06-13 22:26   ` [Drbd-dev] [PATCH 27/30] drbd: get rid of empty statement in is_valid_state Philipp Reisner
2016-06-13 22:26     ` Philipp Reisner
2016-06-13 22:26   ` [Drbd-dev] [PATCH 28/30] drbd: finally report ms, not jiffies, in log message Philipp Reisner
2016-06-13 22:26     ` Philipp Reisner
2016-06-13 22:26   ` [Drbd-dev] [PATCH 29/30] drbd: al_write_transaction: skip re-scanning of bitmap page pointer array Philipp Reisner
2016-06-13 22:26     ` Philipp Reisner
2016-06-13 22:26   ` [Drbd-dev] [PATCH 30/30] drbd: correctly handle failed crypto_alloc_hash Philipp Reisner
2016-06-13 22:26     ` Philipp Reisner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=575ECD32.2080700@fb.com \
    --to=axboe@fb.com \
    --cc=drbd-dev@lists.linbit.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=philipp.reisner@linbit.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.