Re: [PATCH] ata: libata-core: Fix ata_pci_shutdown_one()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Nov 06, 2023 at 06:02:04PM +0900, Damien Le Moal wrote:
> On 11/6/23 17:47, Sergey Shtylyov wrote:
> > Hello!
> > 
> > On 11/6/23 7:16 AM, Damien Le Moal wrote:
> > 
> >> Commit 5b6fba546da2 ("ata: libata-core: Detach a port devices on
> >> shutdown") modified the function ata_pci_shutdown_one() to stop
> >> (suspend) devices attached to the ports of a PCI AHCI adapter to ensure
> >> that drives are spun down before shutting down a system. However, this
> >> is done only for PCI adapters and not for other types of adapters. This
> >> limitation was addressed with commit 24eca2dce0f8 ("scsi: sd: Introduce
> >> manage_shutdown device flag"). With this, all ATA disks are spun down on
> >> system shutdown.
> >>
> >> This reverts commit 5b6fba546da2 as the change introduced is now
> >> useless.
> > 
> >    You didn't use 'git revert'?
> 
> I did, but I wrote a proper commit message.

I think Sergey's question was because you didn't keep the automatically
generated one liner will the full SHA1 as the first line in your summary
(which is then followed by the reason for the revert), see e.g.:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ac2263b588dffd3a1efd7ed0b156ea6c5aea200d


You have the line as the as final line in the summary, and shortened it
to not have the full SHA1.

Personally, I think I prefer having the full SHA1 as the first line,
as you directly see that it is a revert (without needing the read to
the end).

But I think it is fine either way:
Reviewed-by: Niklas Cassel <niklas.cassel@xxxxxxx>



[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux