stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Damien Le Moal <Damien.LeMoal@wdc.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: "stable@vger.kernel.org" <stable@vger.kernel.org>,
	Jens Axboe <axboe@kernel.dk>
Subject: Re: [PATCH] null_blk: Fix zone reset all tracing
Date: Wed, 4 Nov 2020 09:54:02 +0000	[thread overview]
Message-ID: <BL0PR04MB651491B95B0F8A78DF9D401EE7EF0@BL0PR04MB6514.namprd04.prod.outlook.com> (raw)
In-Reply-To: 20201104095141.GA1673068@kroah.com

On 2020/11/04 18:50, Greg Kroah-Hartman wrote:
> On Wed, Nov 04, 2020 at 09:31:40AM +0000, Damien Le Moal wrote:
>> On 2020/11/04 18:26, Greg Kroah-Hartman wrote:
>>> On Wed, Nov 04, 2020 at 09:21:27AM +0000, Damien Le Moal wrote:
>>>> On 2020/11/04 18:14, Greg Kroah-Hartman wrote:
>>>>> On Wed, Nov 04, 2020 at 10:10:15AM +0100, Greg Kroah-Hartman wrote:
>>>>>> On Wed, Nov 04, 2020 at 02:29:14PM +0900, Damien Le Moal wrote:
>>>>>>> commit f9c9104288da543cd64f186f9e2fba389f415630 upstream.
>>>>>>>
>>>>>>> In the cae of the REQ_OP_ZONE_RESET_ALL operation, the command sector is
>>>>>>> ignored and the operation is applied to all sequential zones. For these
>>>>>>> commands, tracing the effect of the command using the command sector to
>>>>>>> determine the target zone is thus incorrect.
>>>>>>>
>>>>>>> Fix null_zone_mgmt() zone condition tracing in the case of
>>>>>>> REQ_OP_ZONE_RESET_ALL to apply tracing to all sequential zones that are
>>>>>>> not already empty.
>>>>>>>
>>>>>>> Fixes: 766c3297d7e1 ("null_blk: add trace in null_blk_zoned.c")
>>>>>>> Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
>>>>>>> Cc: stable@vger.kernel.org
>>>>>>> Signed-off-by: Jens Axboe <axboe@kernel.dk>
>>>>>>> ---
>>>>>>>  drivers/block/null_blk_zoned.c | 14 ++++++++------
>>>>>>>  1 file changed, 8 insertions(+), 6 deletions(-)
>>>>>>
>>>>>> Now queued up, thanks.
>>>>>
>>>>> Wait, no, I'll delay this one until the next round as it's not fixing
>>>>> something introduced in this -rc series.
>>>>
>>>> Yes, that problem is older.
>>>> The lock fix I sent goes on top of this one though. I can send the backport for
>>>> the lock fix without this patch applied. Is that OK ?
>>>
>>> If the order of the patches is needed, then yes, I can take both, please
>>> submit them as a patch series so that I know this is needed.
>>
>> OK. Sending that. Note that I still do not see Kanchan patch applied in stable
>> 5.9.y branch, so I will do the backport assuming it is applied. Or I can send
>> all 3 patches as the series. Which do you prefer ?
> 
> All 3 is great, to ensure I have them all as I don't know what you mean
> by "Kanchan patch".

I was talking about "
commit 35bc10b2eafbb701064b94f283b77c54d3304842 upstream." that you already
applied to 5.9.y.

Sending all 3 patches backported in a series to be sure. SInce the first patchin
the series will be the above mentioned patch, everything should still apply
cleanly on your side. Thanks!

> 
> thanks,
> 
> greg k-h
> 


-- 
Damien Le Moal
Western Digital Research

  reply	other threads:[~2020-11-04  9:54 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-03 14:24 FAILED: patch "[PATCH] null_blk: Fix zone reset all tracing" failed to apply to 5.9-stable tree gregkh
2020-11-03 23:37 ` Damien Le Moal
2020-11-04  5:29 ` [PATCH] null_blk: Fix zone reset all tracing Damien Le Moal
2020-11-04  9:10   ` Greg Kroah-Hartman
2020-11-04  9:15     ` Greg Kroah-Hartman
2020-11-04  9:21       ` Damien Le Moal
2020-11-04  9:27         ` Greg Kroah-Hartman
2020-11-04  9:31           ` Damien Le Moal
2020-11-04  9:51             ` Greg Kroah-Hartman
2020-11-04  9:54               ` Damien Le Moal [this message]
2020-11-04 11:27               ` [PATCH 0/3] null_blk fixes for 5.9 stable Damien Le Moal
2020-11-04 11:27                 ` [PATCH 1/3] null_blk: synchronization fix for zoned device Damien Le Moal
2020-11-04 11:27                 ` [PATCH 2/3] null_blk: Fix zone reset all tracing Damien Le Moal
2020-11-04 11:27                 ` [PATCH 3/3] null_blk: Fix locking in zoned mode Damien Le Moal
2020-11-04 12:24                 ` [PATCH 0/3] null_blk fixes for 5.9 stable Greg Kroah-Hartman

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=BL0PR04MB651491B95B0F8A78DF9D401EE7EF0@BL0PR04MB6514.namprd04.prod.outlook.com \
    --to=damien.lemoal@wdc.com \
    --cc=axboe@kernel.dk \
    --cc=gregkh@linuxfoundation.org \
    --cc=stable@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).