lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Sat, 23 Apr 2011 09:23:34 -0500
From:	Eric Sandeen <sandeen@...hat.com>
To:	Keith Mannthey <kmannth@...ibm.com>
CC:	Lukas Czerner <lczerner@...hat.com>, Tao Ma <tm@....ma>,
	linux-ext4@...r.kernel.org
Subject: Re: Quick EXT4 discard question

On 4/22/11 11:08 AM, Keith Mannthey wrote:
> On Fri, 2011-04-22 at 09:44 +0200, Lukas Czerner wrote:

...

>> Actually you can query that with hdparm -I /path/to/the/device and you
>> should see something like
>>
>> *   Data Set Management TRIM supported
>>
>> in the output.
> 
> I see 
> 
> *	Data Set Management TRIM supported
> ...
> *	Deterministic read after TRIM
> 
> set on my devices. 
> 
> Thanks,
>   Keith 

So the way you get your message is:

                        ret = ext4_issue_discard(sb, entry->group,
                                        entry->start_blk, entry->count);
                        if (unlikely(ret == -EOPNOTSUPP)) {
                                ext4_warning(sb, "discard not supported, "
                                                 "disabling");
                                clear_opt(sb, DISCARD);
                        }

which returns the error message from the calls below it:

ext4_issue_discard
	sb_issue_discard
		blkdev_issue_discard

and EOPNOTSUPP is pretty clear... I wonder if it could be that a discard request
on a particular boundary is causing it to be rejected?

-Eric
		
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ