News for hackers. Stuff that matters.
Re:What Is Zoned Storage and the Zoned Storage Initiative? by h2odragon on Saturday August 31, 2019 @06:42PM (#20849270)
" In SMR, unlike conventional recording, tracks are written in an overlapping manner. ... once the tracks are overlapped, they cannot be written independently. there are disadvantages for device-side localized management. ... Managing the complexity on the host side is almost a requirement"

also links: https://www.zonedstorage.io/ for further information.

Sounds good to me; exposure of the actual mechanisms instead of outdated abstractions makes sense. I'd even argue for open access to motor controllers and raw signal buffers but apparently I'm insane.

Re:What Is Zoned Storage and the Zoned Storage Initiative? by josefbacik on Saturday August 31, 2019 @07:00PM (#20849353)
Host managed also means messing with the file system, and the patch set for btrfs is not small. Plus you have to disable a bunch of features (like preallocation since you can’t move the write pointer backwards) which is going to surprise people in unfun ways. These drives are useless for general purpose. If you are going to use them as expensive tape then by all means, but otherwise I have serious doubts about their usefulnes.

Edit: I’m talking specifically about the SMR side. The general zoned stuff is interesting, but when you start putting restrictions on how you can write to certain zones you wind up with a lot of weirdness that application developers are going to be surprised by.

Re:What Is Zoned Storage and the Zoned Storage Initiative? by amelius on Saturday August 31, 2019 @09:10PM (#20849888)
> If you are going to use them as expensive tape then by all means, but otherwise I have serious doubts about their usefulness.

Only writing is more complicated. Reading is still simple and fast; and random access reading is fast, unlike tape.

Re:What Is Zoned Storage and the Zoned Storage Initiative? by rzzzt on Saturday August 31, 2019 @07:10PM (#20849392)
Drive-managed SMR looks OK to me for general use, although I don't have hands-on experience with it. They also have a non-shingled region that can accept random I/O at higher speeds, and the drive deals with moving data to a linear-only region once it fills up, or at garbage collection time.

It's very much like the QLC drives where a portion is treated as SLC/MLC.

Re:What Is Zoned Storage and the Zoned Storage Initiative? by loeg on Saturday August 31, 2019 @07:43PM (#20849507)
It's like the QLC drives with SLC/MLC cache (e.g., Intel 660p) except the performance cliff is far, far worse (and obviously the "fast" mode is far worse as well).
Re:What Is Zoned Storage and the Zoned Storage Initiative? by josefbacik on Saturday August 31, 2019 @07:16PM (#20849415)
Agreed, drive managed is far better from a usability standpoint.
Re:What Is Zoned Storage and the Zoned Storage Initiative? by the8472 on Sunday September 01, 2019 @07:31AM (#20851713)
Some of the fallocate modes don't make much sense on CoW filesystems anyway. ZoL doesn't support preallocation either, you have to use FALLOC_FL_PUNCH_HOLE.

Lack of DIO might be a bigger issue. Then again it's often used by write-heavy workloads which probably don't want to use SMR drives anyway.

Re:What Is Zoned Storage and the Zoned Storage Initiative? by DoctorOetker on Saturday August 31, 2019 @10:13PM (#20850130)
I totally agree, how on earth could being given optional access to lower level functionality ever be considered a negative?
Re:What Is Zoned Storage and the Zoned Storage Initiative? by pjc50 on Sunday September 01, 2019 @04:40AM (#20851192)
It makes it much easier to accidentally break something, and much harder to swap out the implementation for a better but different one?
Re:What Is Zoned Storage and the Zoned Storage Initiative? by nine_k on Saturday August 31, 2019 @07:53PM (#20849552)
Expensive but very fast tape with easy random rewind, but still largely sequential write access, is something that spark / hadoop could readily use.