Announcement

Collapse
No announcement yet.

Linux 4.1 To Bring Support For NCQ Autosense

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Linux 4.1 To Bring Support For NCQ Autosense

    Phoronix: Linux 4.1 To Bring Support For NCQ Autosense

    While usually not presenting any major features each release cycle, the libata feature pull request for Linux 4.1 is a bit more interesting this time around...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    But this data needs to be relayed to the user too.
    Not just outputted to dmesg or syslog.

    Comment


    • #3
      Originally posted by phoronix View Post
      Phoronix: Linux 4.1 To Bring Support For NCQ Autosense

      While usually not presenting any major features each release cycle, the libata feature pull request for Linux 4.1 is a bit more interesting this time around...
      The admin is in the first place to take care of it. In any case, there is kdbus which will be in the mainline so this could be easy to deliver this sort of messages to the user even into the GUI.

      Comment


      • #4
        Originally posted by uid313 View Post
        But this data needs to be relayed to the user too.
        Not just outputted to dmesg or syslog.
        What about reporting it to a cache layer to lock some lost writes in the cache instead of just totally losing data? Like that will ever happen

        Comment


        • #5
          Originally posted by BradN View Post
          What about reporting it to a cache layer to lock some lost writes in the cache instead of just totally losing data? Like that will ever happen
          I doubt that you understand the complexity of what you are asking.
          Lock the memory and do -what-?

          - Gilboa
          oVirt-HV1: Intel S2600C0, 2xE5-2658V2, 128GB, 8x2TB, 4x480GB SSD, GTX1080 (to-VM), Dell U3219Q, U2415, U2412M.
          oVirt-HV2: Intel S2400GP2, 2xE5-2448L, 120GB, 8x2TB, 4x480GB SSD, GTX730 (to-VM).
          oVirt-HV3: Gigabyte B85M-HD3, E3-1245V3, 32GB, 4x1TB, 2x480GB SSD, GTX980 (to-VM).
          Devel-2: Asus H110M-K, i5-6500, 16GB, 3x1TB + 128GB-SSD, F33.

          Comment


          • #6
            Originally posted by gilboa View Post
            I doubt that you understand the complexity of what you are asking.
            Lock the memory and do -what-?

            - Gilboa
            Well you stream/write the memory a virtual file (not to disk) on the file system.
            Such as /sys/fs/failed_writes, then you have a software reads the virtual file and;
            A) Writes it to a external backup drive.
            B) Sends it over the network to a remote machine.
            C) Informs the user, emails someone, or writes something to a log.

            Comment


            • #7
              Originally posted by uid313 View Post
              Well you stream/write the memory a virtual file (not to disk) on the file system.
              Such as /sys/fs/failed_writes, then you have a software reads the virtual file and;
              A) Writes it to a external backup drive.
              B) Sends it over the network to a remote machine.
              C) Informs the user, emails someone, or writes something to a log.
              ... A disk failure - I mean full disk failure - will be useless without an application layer that understands what exactly was updated and where.
              Writing a couple of random pages into a couple of random files sitting in some random remote location is beyond useless.
              Far better to inform the application layer that the write has failed, and let it handle it cleanly.

              The mere fact that some applications are stupid enough to assume that every write succeeds without implementing proper error handling is not the kernel's fault.

              - Gilboa
              oVirt-HV1: Intel S2600C0, 2xE5-2658V2, 128GB, 8x2TB, 4x480GB SSD, GTX1080 (to-VM), Dell U3219Q, U2415, U2412M.
              oVirt-HV2: Intel S2400GP2, 2xE5-2448L, 120GB, 8x2TB, 4x480GB SSD, GTX730 (to-VM).
              oVirt-HV3: Gigabyte B85M-HD3, E3-1245V3, 32GB, 4x1TB, 2x480GB SSD, GTX980 (to-VM).
              Devel-2: Asus H110M-K, i5-6500, 16GB, 3x1TB + 128GB-SSD, F33.

              Comment


              • #8
                Sorry for the late reply, I should have been more specific. I was referring to like bcache or things like that which have a permanent memory backed cache. Like, for utilizing the flash based cache some spinning drives come with, or using an SSD to boost a mechanical drive.

                Comment

                Working...
                X