Linux SCSI subsystem development
 help / color / mirror / Atom feed
From: James Bottomley <James.Bottomley@HansenPartnership.com>
To: Finn Thain <fthain@linux-m68k.org>
Cc: "linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>,
	 "linux-block@vger.kernel.org" <linux-block@vger.kernel.org>,
	linux-fsdevel@vger.kernel.org
Subject: Re: [LSF/MM/BPF TOPIC] Documenting the correct pushback on AI inspired (and other) fixes in older drivers
Date: Sun, 08 Feb 2026 12:58:58 -0500	[thread overview]
Message-ID: <e0a696dea2b68b99f604ce8bfb897fc3d38acc90.camel@HansenPartnership.com> (raw)
In-Reply-To: <5938441c-aaa9-c405-a78a-a66f387a5370@linux-m68k.org>

On Fri, 2026-02-06 at 09:57 +1100, Finn Thain wrote:
> 
> On Thu, 5 Feb 2026, James Bottomley wrote:
> 
> > To set the stage, we in SCSI have seen an uptick in patches to
> > older drivers mostly fixing missing free (data leak) and data race
> > problems. I'm not even sure they're all AI found, but we don't
> > really need to know that. 
> 
> If I may predict the next scene, by extrapolating only a little, we
> are approaching the point where it will be feasible to request that
> an AI simply generate a new driver, based on chip datasheets plus all
> of the open source drivers available for training, rather than patch 
> the bugs in an existing driver.

Seems possible, but do we care?  For a driver we don't have, I think
we'd be reasonably happy to try out an AI generated one, assuming
there's a maintainer who has hardware to test.  For existing drivers, I
think AI rewrites (even in rust) would be rejected.

> At that point, what use is a maintainer? I think we can still add
> value if we are able to leverage our ability and experience in
> validating such code  i.e. prove its correctness somehow. If we can
> do that, then the codebase we presently call Linux might continue to
> grow because it would remain superior than some AI-generated
> alternative codebase.

Well, I don't think regarding Maintainers as being in competition with
AI will be very productive.  AI is a tool for maintainers to use, if
they wish, to augment their other skills.

> Documentation that would raise the bar for patch submissions seems
> like a band-aid. The basic complaint seems to be that minor fixes
> have become cheaper and easier to produce, overwhelming reviewers.
> The solution has to be, make code review cheaper and more effective
> i.e. fight fire with fire.

Chris Mason is already doing that, I think.  However, I didn't anchor
my proposal around lack of review, I anchored it to a better documented
risk/benefit calculation ... and that doesn't change enormously however
many reviews the patch gets.

Regards,

James


  parent reply	other threads:[~2026-02-08 17:59 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-05  9:51 [LSF/MM/BPF TOPIC] Documenting the correct pushback on AI inspired (and other) fixes in older drivers James Bottomley
2026-02-05 16:30 ` Bart Van Assche
2026-02-05 20:54   ` Matthew Wilcox
2026-02-05 22:38     ` James Bottomley
2026-02-05 16:40 ` Haris Iqbal
2026-02-05 22:40   ` James Bottomley
2026-02-05 23:37     ` Chuck Lever
2026-02-05 22:57 ` Finn Thain
2026-02-06  5:18   ` Darrick J. Wong
2026-02-06 22:38     ` Finn Thain
2026-02-08 17:58   ` James Bottomley [this message]
2026-02-08 23:41     ` Finn Thain

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=e0a696dea2b68b99f604ce8bfb897fc3d38acc90.camel@HansenPartnership.com \
    --to=james.bottomley@hansenpartnership.com \
    --cc=fthain@linux-m68k.org \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-scsi@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