From: Damien Le Moal <dlemoal@kernel.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-ide@vger.kernel.org
Subject: Re: [GIT PULL] ata fixes for 6.6-final
Date: Mon, 30 Oct 2023 08:52:18 +0900 [thread overview]
Message-ID: <68df1ee3-04ec-431d-b5ac-a5fd26801fe8@kernel.org> (raw)
In-Reply-To: <CAHk-=wha0w0mOQ9w1OnPcadJK5anM5dM5kanDm3hFRqCu7QaFw@mail.gmail.com>
On 10/28/23 08:43, Linus Torvalds wrote:
> On Thu, 26 Oct 2023 at 21:31, Damien Le Moal <dlemoal@kernel.org> wrote:
>>
>> A single patch to fix a regression introduced by the recent
>> suspend/resume fixes. The regression is that ATA disks are not stopped
>> on system shutdown, which is not recommended and increases the disks
>> SMART counters for unclean power off events. This patch fixes this by
>> refining the recent rework of the scsi device manage_xxx flags.
>
> Side note: I think 'bool' ends up always using a whole byte in 'struct
> scsi_device' (because you can't take an address of a single bit).
>
> And while it might all end up being unnoticeable due to padding, those
> bools are right next to bitfields.
>
> Which just makes me go "those should all have been just 'unsigned:1' fields".
>
> Of course, maybe they actually have their address taken, and it's all
> very intentional.
I will check. Thanks.
>
> Linus
--
Damien Le Moal
Western Digital Research
next prev parent reply other threads:[~2023-10-29 23:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-27 7:31 [GIT PULL] ata fixes for 6.6-final Damien Le Moal
2023-10-27 23:43 ` Linus Torvalds
2023-10-29 23:52 ` Damien Le Moal [this message]
2023-10-27 23:44 ` pr-tracker-bot
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=68df1ee3-04ec-431d-b5ac-a5fd26801fe8@kernel.org \
--to=dlemoal@kernel.org \
--cc=linux-ide@vger.kernel.org \
--cc=torvalds@linux-foundation.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