User: Password:
Subscribe / Log in / New account

Re: What happened to TRIM support for raid linear/0/1/10?

From:  NeilBrown <>
To:  Holger Kiehl <>
Subject:  Re: What happened to TRIM support for raid linear/0/1/10?
Date:  Thu, 9 Aug 2012 13:24:59 +1000
Message-ID:  <20120809132459.6ed7fc7e@notabene.brown>
Cc:  Shaohua Li <>, "" <>, "" <>
Archive-link:  Article

On Wed, 8 Aug 2012 13:10:51 +0000 (GMT) Holger Kiehl <>

> Hello,
> I have been using the patches posted by Shaohua Li on 16th March 2012:
> for several month on a very busy file server (serving 9 million files
> with 5.3 TiB daily) without any problems.
> Is there any chance that these patches will go into the official kernel?
> Or what is the reason that these patches are no applied?

I'm trying to appear to be an incompetent maintainer so that someone will
offer to take over.  It isn't working yet.  I'm probably scuttling the
attempt just by replying to this email - drat.

> I have attached the patch set in one big patch for 3.5. Please do not
> use it since I am not sure if it is correct. Shaohua could you please
> take a look if it is correct and maybe post a new one?
> Personally, I would think that TRIM support MD would be a very good thing.

Probably.  Maybe if they get posted again I'll feel guilty and do something
about them.

One issue that needs to be fixed is that a few places assumed that the
"discard_zeros_data" flag is always set, which is not the case (else we
wouldn't have that flag).  That was only a couple of places though, not a
wide spread problem.


> Regards,
> Holger

(Log in to post comments)

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds