Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Reiser4

From Wikipedia, the free encyclopedia
Journaling file system for Linux
This article has multiple issues. Please helpimprove it or discuss these issues on thetalk page.(Learn how and when to remove these messages)
icon
This article'slead sectionmay be too short to adequatelysummarize the key points. Please consider expanding the lead toprovide an accessible overview of all important aspects of the article.(February 2025)
icon
This articleneeds additional citations forverification. Please helpimprove this article byadding citations to reliable sources. Unsourced material may be challenged and removed.
Find sources: "Reiser4" – news ·newspapers ·books ·scholar ·JSTOR
(January 2017) (Learn how and when to remove this message)
(Learn how and when to remove this message)
Reiser4
Developer(s)Edward Shishkin and others[1]
Full nameReiser4
Introduced2004; 22 years ago (2004) withLinux
Partition IDsApple_UNIX_SVR2 (Apple Partition Map)

0x83 (MBR)

Basic data partition (GPT)
Structures
Directory contentsDancingB*-tree
Limits
Max file size8TiB on x86
Max filename length3976 bytes
Allowed filename
characters
All bytes except NUL and '/'
Features
Dates recordedmodification (mtime), metadata change (ctime), access (atime)
Date range64-bit timestamps[2]
ForksNo
File system
permissions
Unix permissions
Transparent
compression
Yes
Transparent
encryption
No
Data deduplicationNo
Other
Supported
operating systems
Linux
Websitereiser4.wiki.kernel.org
Repositorygithub.com/edward6/reiser4

Reiser4 is acomputerfile system, successor to theReiserFS file system, developed from scratch byNamesys and sponsored byDARPA as well asLinspire. Reiser4 was named after its former lead developerHans Reiser. As of 2021[update], the Reiser4 patch set is still being maintained,[3][4] but according toPhoronix, it is unlikely to be merged into mainline Linux without corporate backing.[5]

Features

[edit]

Some of the goals of the Reiser4 file system are:

  • Atomicity (filesystem operations either complete, or they do not, and they do not corrupt due to partially occurring)
  • Different transaction models: journaling, write-anywhere (copy-on-write), hybrid transaction model[6]
  • More efficientjournaling through wandering logs
  • More efficient support of small files, in terms of disk space and speed throughblock suballocation
  • Liquid items (or virtual keys) – a special format of records in the storage tree, which completely resolves the problem ofinternal fragmentation
  • EOTTL (extents on the twig level) – fully balanced storage tree, meaning that all paths to objects are of equal length
  • Faster handling ofdirectories with large numbers of files
  • Transparent compression:Lempel-Ziv-Oberhumer (LZO),zlib
  • Plugin infrastructure
  • Dynamically optimized disk-layout throughallocate-on-flush (also called delayed allocation inXFS)
  • Delayed actions (tree balancing, compression, block allocation, local defragmentation)
  • R and D (Rare and Dense) caches, synchronized at commit time
  • Transactions support for user-defined integrity
  • Metadata and inline-datachecksums[7]
  • Mirrors and failover[8]
  • Precisediscard support[9] with delayed issuing of discard requests for SSD devices[10]

Some of the more advanced Reiser4 features (such as user-defined transactions) are also not available because of a lack of aVFS API for them.

At present Reiser4 lacks a few standard file system features, such as an online repacker (similar to thedefragmentation utilities provided with other file systems). The creators of Reiser4 say they will implement these later, or sooner if someone pays them to do so.[11]

Performance

[edit]

Reiser4 usesB*-trees in conjunction with thedancing tree balancing approach, in which underpopulated nodes will not be merged until a flush to disk except under memory pressure or when a transaction completes. Such a system also allows Reiser4 to create files and directories without having to waste time and space through fixed blocks.

As of 2004[update], synthetic benchmarks performed by Namesys in 2003 show that Reiser4 is 10 to 15 times faster than its most serious competitorext3 working on files smaller than 1KiB. Namesys's benchmarks suggest it is typically twice the performance of ext3 for general-purpose filesystem usage patterns.[12] Other benchmarks from 2006 show results of Reiser4 being slower on many operations.[13] Benchmarks conducted in 2013 with Linux Kernel version 3.10 show that Reiser4 is considerably faster in various tests compared to in-kernel filesystemsext4,btrfs andXFS.[14]

Integration with Linux

[edit]

Reiser4 has patches for Linux 2.6, 3.x, 4.x and 5.x.,[15][3] but as of 2019[update], Reiser4 has not been merged into the mainlineLinux kernel[3] and consequently is still not supported on manyLinux distributions; however, its predecessor ReiserFS v3 has been widely adopted. Reiser4 is also available fromAndrew Morton's-mm kernel sources, and from the Zen patch set. The Linux kernel developers claim that Reiser4 does not follow the Linux "coding style" by the decision to use its own plugin system,[16] butHans Reiser suggested the decision was made for political reasons.[17]The latest released Reiser4 kernel patches and tools can be downloaded from Reiser4 project page at sourceforge.net.[4]

History of Reiser4

[edit]
See also:Hans Reiser

Hans Reiser wasconvicted of murder on April 28, 2008, leaving the future of Reiser4 uncertain. After his arrest, employees of Namesys were assured they would continue to work and that the events would not slow down the software development in the immediate future. In order to afford increasing legal fees, Hans Reiser announced on December 21, 2006, that he was going to sell Namesys;[18] as of March 26, 2008, it had not been sold, although the website was unavailable. During aCNET interview in January 2008, Edward Shishkin, an employee and programmer working for Namesys, said: "Commercial activity of Namesys has stopped." Shishkin and others continued the development of Reiser4,[19] making source code available from Shishkin's web site,[20] later relocated tokernel.org.[21] Since 2008, Namesys employees have received 100% of their sponsored funding fromDARPA.[22][23][24]

In 2010,Phoronix wrote that Edward Shishkin was exploring options to get Reiser4 merged into Linux kernel mainline.[25] As of 2019[update], the file system is still being updated for new kernel releases, but has not been submitted for merging.[3] In 2015,Michael Larabel mentioned it is unlikely to happen without corporate backing,[26] and then he suggested in April 2019 that the main obstacle could be the renaming of Reiser4 so as to avoid any references to Reiser.[3]

Shishkin announced a Reiser5 filesystem on December 31, 2019.[27]

See also

[edit]

References

[edit]
  1. ^"Credits - Reiser4 FS Wiki".reiser4.wiki.kernel.org. Retrieved2019-08-05.
  2. ^Documentation/filesystems/reiser4.txt from a reiser4-patched kernel source, "By default file in reiser4 have 64-bit timestamps."
  3. ^abcdeLarabel, Michael (2019-04-13)."Reiser4 Brought To The Linux 5.0 Kernel - Phoronix".Phoronix. Retrieved2019-08-04.
  4. ^abhttps://reiser4.sourceforge.net/
  5. ^"Ten Features You Will Not Find in the Mainline Linux 4.10 Kernel - Phoronix".
  6. ^"Reiser4 transaction models".Reiser4 wiki.
  7. ^"Reiser4 checksums".Reiser4 wiki.
  8. ^"Reiser4 Mirrors and Failover".Reiser4 wiki.
  9. ^"Precise Discard".Reiser4 wiki.
  10. ^"Reiser4 discard support".Reiser4 wiki.
  11. ^Reiser, Hans (2004-09-16)."Re: Benchmark: ext3 vs reiser4 and effects of fragmentation". Namesys, ReiserFS mailing list. Retrieved2009-10-03.
  12. ^Hans Reiser (November 20, 2003)."Benchmarks Of ReiserFS Version 4". Namesys. Archived fromthe original on September 29, 2007. Retrieved2014-01-18.
  13. ^Justin Piszcz (January 2006)."Benchmarking Filesystems Part II". Retrieved2006-04-23.
  14. ^Michael Larabel (July 31, 2013)."Reiser4 File-System Shows Decent Performance On Linux 3.10". Phoronix. Retrieved2013-07-31.
  15. ^"Reiser4 file system for Linux OS - Browse Files at SourceForge.net".sourceforge.net. Retrieved2019-08-04.
  16. ^"Linux: Why Reiser4 Is Not in the Kernel". Kerneltrap. September 19, 2005. Archived fromthe original on 2007-04-23.
  17. ^Reiser, Hans (21 July 2006)."The "'official' point of view" expressed by kernelnewbies.org regarding reiser4 inclusion". Retrieved2008-03-01.
  18. ^"Murder Suspect Selling Namesys".Wired News. 2006-12-21. Retrieved2006-12-30.
  19. ^Namesys vanishes, but ReiserFS project lives on.http://www.news.com/8301-13580_3-9851703-39.htmlArchived 2008-09-05 at theWayback Machine CNet (January 16, 2008). Retrieved on 2008-01-26.
  20. ^"Namesys things". Chichkin_i.zelnet.ru. Archived fromthe original on 2010-03-24. Retrieved2010-02-08.
  21. ^New location of Namesys softwareLinux Kernel Mailing List post, 2008-08-04
  22. ^"Re: we got the DARPA grant to add views to Reiser4". Mail-archive.com. 2004-04-10. Retrieved2010-02-08.
  23. ^"Bug 114785 – reiserfs won't mount with usrquota option".Red Hat Bugzilla.
  24. ^"Reports - ext3 or ReiserFS? Hans Reiser Says Red Hat's Move Is Understandable - Red Hat's Decision is Conservative, Not Radical". LinuxPlanet. Archived fromthe original on 2010-01-22. Retrieved2010-02-08.
  25. ^"Reiser4 May Go For Mainline Inclusion In 2010".Phoronix. 2009-11-10. Retrieved2010-02-08.
  26. ^Michael Larabel (23 February 2015)."KDBUS & Other Features You Won't Find In The Linux 4.0 Kernel".Phoronix.
  27. ^"[ANNOUNCE] Reiser5 (Format Release 5.X.Y)". Linux Weekly News. 2019-12-31.

External links

[edit]
Disk and
non-rotating
Optical disc
Flash memory andSSD
host-sidewear leveling
Distributed parallel
NAS
Specialized
Pseudo
Encrypted
Types
Features
Access control
Interfaces
Lists
Layouts
Retrieved from "https://en.wikipedia.org/w/index.php?title=Reiser4&oldid=1335747931"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp