[
https://issues.apache.org/jira/browse/LUCENE-6614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14602898#comment-14602898
]
Uwe Schindler commented on LUCENE-6614:
---------------------------------------
I think we are talking about different issues here. This is about the problem
of detecting a NVMe SSD, which should work, but doesn't based on the way how
NVMe's partitions are part of device name. We are not talking about Directory
or if tmpfs spins. Please move this to another issue!
This issue should fix the NVMe device naming and make the bruteforce stripping
of partition numbers work better (instead it checks what is there and matches
the /sys/block directory contents against the device name). So no bruteforcing
and it works also with NVMe.
The attached patch passes tests on my local Linux computer, so it should really
work. Mike, did you check my patch and verify that it works?
bq. /dev/disk/by-uuid/
That should work, because the IOUtils.spins() code dereferences symbolic links.
So just try my patch, please.
> IOUtils.spins doesn't work for drives NVMe drives
> -------------------------------------------------
>
> Key: LUCENE-6614
> URL: https://issues.apache.org/jira/browse/LUCENE-6614
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Michael McCandless
> Assignee: Uwe Schindler
> Priority: Minor
> Fix For: 5.3, Trunk
>
> Attachments: LUCENE-6614.patch
>
>
> NVMe is the faster (than AHCI) protocol for newer SSDs that plug into the
> PCIE bus.
> I just built a new beast box with one of these drives, and the partition is
> named {{/dev/nvme0n1p1}} while the device is {{/dev/nvme0n1}} by Linux - this
> also appears in /sys/block with rotational=0.
> I think [~steve_rowe] also has an NVME drive ...
> [~thetaphi] (who got the box working for me: thank you!!!) has ideas on how
> to fix it!
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]