{"id":109017,"date":"2023-06-19T15:10:24","date_gmt":"2023-06-19T13:10:24","guid":{"rendered":"https:\/\/prohoster.info\/?p=109017"},"modified":"2023-06-21T11:07:42","modified_gmt":"2023-06-21T09:07:42","slug":"prodvizhenie-bcachefs-v-sostav-yadra-linux","status":"publish","type":"post","link":"https:\/\/prohoster.info\/hu\/blog\/news\/prodvizhenie-bcachefs-v-sostav-yadra-linux","title":{"rendered":"A Bcachefs n\u00e9pszer\u0171s\u00edt\u00e9se a Linux kernel r\u00e9szek\u00e9nt","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Kent Overstreet, a contributor to the Linux kernel's SSD block device caching system BCache, summarized the advancements in promoting the Bcachefs filesystem during his talk at the LSFMM 2023 (Linux Storage, Filesystem, Memory Management &amp; BPF Summit). He discussed the plans for further development of this filesystem and highlighted an updated patch set proposed for review and inclusion in the main Linux kernel. The Bcachefs filesystem has been in development for nearly a decade. The readiness for reviewing the Bcachefs implementation was announced back in late 2020, and the current patch set takes into account the feedback and shortcomings identified in the previous review.    <\/p>\n<p>The goal of developing Bcachefs is to achieve performance, reliability, and scalability on par with XFS, while also providing additional features characteristic of Btrfs and ZFS, such as the ability to span multiple devices, layered storage layouts, replication (RAID 1\/10), caching, transparent data compression (using LZ4, gzip, and ZSTD modes), snapshots, integrity verification through checksums, the capability to store Reed-Solomon error correction codes (RAID 5\/6), and storing information in encrypted form (using ChaCha20 and Poly1305). Bcachefs outperforms Btrfs and other Copy-on-Write based filesystems in performance and demonstrates speeds close to Ext4 and XFS.       <\/p>\n<p>A Bcachefs fejleszt\u00e9sek leg\u00fajabb eredm\u00e9nyei k\u00f6z\u00f6tt eml\u00edthet\u0151 a stabiliz\u00e1l\u00e1s, amely lehet\u0151v\u00e9 teszi a felv\u00e9teli pillanatok \u00edr\u00e1sra t\u00f6rt\u00e9n\u0151 hozz\u00e1f\u00e9r\u00e9s\u00e9t. A Btrfs-hez k\u00e9pest a Bcachefs pillanatok most jelent\u0151sen jobban m\u00e9retezhet\u0151k \u00e9s mentesek a Btrfs-re jellemz\u0151 probl\u00e9m\u00e1kt\u00f3l. A pillanatok gyakorlati tesztel\u00e9s\u00e9t a MySQL biztons\u00e1gi ment\u00e9si megold\u00e1sainak megszervez\u00e9se sor\u00e1n tett\u00e9k. A Bcachefs-ben jelent\u0151s munk\u00e1t v\u00e9geztek a m\u00e9retezhet\u0151s\u00e9g jav\u00edt\u00e1s\u00e1n is \u2014 a f\u00e1jlrendszer j\u00f3l teljes\u00edtett 100 TB-os t\u00e1rol\u00f3k tesztel\u00e9se sor\u00e1n, \u00e9s a k\u00f6zelj\u00f6v\u0151ben v\u00e1rhat\u00f3 a Bcachefs bevezet\u00e9se 1 PB-os t\u00e1rol\u00f3kba is. \u00daj nocow m\u00f3d ker\u00fclt bevezet\u00e9sre, amely kikapcsolja a 'm\u00e1solat\u00edr\u00e1s' (nocow) mechanizmus\u00e1t. Ny\u00e1ron tervezik a hibajav\u00edt\u00f3 k\u00f3dok \u00e9s a RAIDZ megval\u00f3s\u00edt\u00e1s\u00e1nak stabiliz\u00e1l\u00e1s\u00e1t, valamint a fsck seg\u00e9dprogram haszn\u00e1lata sor\u00e1n felmer\u00fcl\u0151 magas mem\u00f3riafogyaszt\u00e1s probl\u00e9m\u00e1inak megold\u00e1s\u00e1t.     <\/p>\n<p>A j\u00f6v\u0151beni tervek k\u00f6z\u00f6tt szerepel, hogy a Bcachefs fejleszt\u00e9s\u00e9hez Rust nyelvet k\u00edv\u00e1nnak haszn\u00e1lni. A Bcachefs szerz\u0151je szerint \u0151 ink\u00e1bb programozni szeret, mintsem hib\u00e1kat keresni, \u00e9s most m\u00e1r \u0151r\u00fclts\u00e9gnek tartja, hogy C nyelven \u00edrjon k\u00f3dot, mikor van jobb megold\u00e1s. A Rust m\u00e1r haszn\u00e1latban van a Bcachefs-ben n\u00e9h\u00e1ny, felhaszn\u00e1l\u00f3i t\u00e9rben fut\u00f3 seg\u00e9dprogram megval\u00f3s\u00edt\u00e1s\u00e1ban. T\u00f6bbek k\u00f6z\u00f6tt az is felmer\u00fclt, hogy fokozatosan teljesen \u00e1t\u00edrj\u00e1k a Bcachefs-t Rust nyelvre, mivel ennek a nyelvnek a haszn\u00e1lata jelent\u0151sen cs\u00f6kkenti a hibaelh\u00e1r\u00edt\u00e1shoz sz\u00fcks\u00e9ges id\u0151t.      <\/p>\n<p>A Bcachefs Linux kernelbe val\u00f3 beemel\u00e9s\u00e9nek el\u0151mozd\u00edt\u00e1s\u00e1val kapcsolatban a folyamat elh\u00faz\u00f3dhat a jelent\u0151s m\u00e9ret\u0171 v\u00e1ltoztat\u00e1sok miatt (2500 jav\u00edt\u00f3csomag \u00e9s k\u00f6r\u00fclbel\u00fcl 90 ezer sor k\u00f3d), amelyeket neh\u00e9z \u00e1ttekinteni. A gyorsabb v\u00e9lem\u00e9nyez\u00e9s \u00e9rdek\u00e9ben n\u00e9h\u00e1ny fejleszt\u0151 javasolta, hogy a jav\u00edt\u00f3csomagokat kisebb, logikailag elhat\u00e1rolt r\u00e9szekre bonts\u00e1k. A megbesz\u00e9l\u00e9s sor\u00e1n egyes r\u00e9sztvev\u0151k arra is felh\u00edvt\u00e1k a figyelmet, hogy a projekt egyetlen fejleszt\u0151 \u00e1ltali fejl\u0151d\u00e9se aggaszt\u00f3, mivel fenn\u00e1ll annak a vesz\u00e9lye, hogy a k\u00f3d t\u00e1mogat\u00e1s n\u00e9lk\u00fcl maradhat, ha a fejleszt\u0151vel b\u00e1rmi t\u00f6rt\u00e9nik (a projekt ir\u00e1nt k\u00e9t Red Hat munkat\u00e1rs is \u00e9rdekl\u0151dik, de munk\u00e1juk egyel\u0151re a hib\u00e1k jav\u00edt\u00e1s\u00e1ra korl\u00e1toz\u00f3dik).      <\/p>\n<p>A Bcachefs olyan technol\u00f3gi\u00e1k felhaszn\u00e1l\u00e1s\u00e1val fejl\u0151dik, amelyeket m\u00e1r kipr\u00f3b\u00e1ltak a Bcache blokkeszk\u00f6z fejleszt\u00e9sekor, amely lass\u00fa merevlemezek gyors SSD-meghajt\u00f3k \u00e1ltali gyors\u00edt\u00e1shoz lett tervezve (a 3.10-es kiad\u00e1st\u00f3l kezdve r\u00e9sze a kernelnek). A Bcachefs-ben a M\u00e1solat\u00edr\u00e1s (COW) mechanizmus m\u0171k\u00f6dik, ahol a v\u00e1ltoz\u00e1sok nem id\u00e9znek el\u0151 adat\u00edr\u00e1st \u2014 az \u00faj \u00e1llapotot egy \u00faj helyre \u00edrj\u00e1k, majd megv\u00e1ltozik a aktu\u00e1lis \u00e1llapot mutat\u00f3ja.     <\/p>\n<p>A Bcachefs egyik k\u00fcl\u00f6nleges jellemz\u0151je a t\u00f6bbr\u00e9teg\u0171 t\u00e1rol\u00f3kapcsolat t\u00e1mogat\u00e1sa, amely lehet\u0151v\u00e9 teszi, hogy a t\u00e1rol\u00f3kat t\u00f6bb r\u00e9tegb\u0151l \u00e1ll\u00edts\u00e1k \u00f6ssze \u2014 az als\u00f3 r\u00e9teghez a leggyorsabb t\u00e1rol\u00f3kat (SSD) csatlakoztatj\u00e1k, amelyeket a gyakran haszn\u00e1lt adatok gyors\u00edt\u00f3t\u00e1raz\u00e1s\u00e1ra haszn\u00e1lnak, m\u00edg a fels\u0151 r\u00e9teg nagyobb kapacit\u00e1s\u00fa \u00e9s olcs\u00f3bb lemezekb\u0151l \u00e1ll, amelyek a kev\u00e9sb\u00e9 keresett adatok t\u00e1rol\u00e1s\u00e1\u00e9rt felelnek. A r\u00e9tegek k\u00f6z\u00f6tt k\u00e9sleltetett \u00edr\u00e1si m\u00f3dban (writeback) is alkalmazhat\u00f3 a gyors\u00edt\u00f3t\u00e1raz\u00e1s. A t\u00e1rol\u00f3k dinamikusan hozz\u00e1adhat\u00f3k \u00e9s lev\u00e1laszthat\u00f3k a part\u00edci\u00f3r\u00f3l an\u00e9lk\u00fcl, hogy le\u00e1ll\u00edtan\u00e1k a f\u00e1jlrendszer haszn\u00e1lat\u00e1t (az adatok automatikusan migr\u00e1lnak).<br \/>\n<br \/>Forr\u00e1s: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=59314\">opennet.ru<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041a\u0435\u043d\u0442 \u041e\u0432\u0435\u0440\u0441\u0442\u0440\u0438\u0442 (Kent Overstreet), \u0430\u0432\u0442\u043e\u0440 \u0432\u0445\u043e\u0434\u044f\u0449\u0435\u0439 \u0432 \u0441\u043e\u0441\u0442\u0430\u0432 \u044f\u0434\u0440\u0430 Linux \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043a\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0431\u043b\u043e\u0447\u043d\u044b\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 \u043d\u0430 SSD-\u043d\u0430\u043a\u043e\u043f\u0438\u0442\u0435\u043b\u044f\u0445 BCache, \u0432 \u0441\u0432\u043e\u0451\u043c \u0432\u044b\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u0438 \u043d\u0430 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0438 LSFMM 2023 (Linux Storage, Filesystem, Memory Management &#038; BPF Summit) \u043e\u0431\u043e\u0431\u0449\u0438\u043b \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0440\u0430\u0431\u043e\u0442\u044b \u043f\u043e \u043f\u0440\u043e\u0434\u0432\u0438\u0436\u0435\u043d\u0438\u044e \u0444\u0430\u0439\u043b\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b Bcachefs \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0441\u043e\u0441\u0442\u0430\u0432 \u044f\u0434\u0440\u0430 Linux \u0438 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u043b \u043e \u043f\u043b\u0430\u043d\u0430\u0445 \u043f\u043e \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u043c\u0443 \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u044e \u0434\u0430\u043d\u043d\u043e\u0439 \u0424\u0421. \u0412 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-109017","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.3 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041a\u0435\u043d\u0442 \u041e\u0432\u0435\u0440\u0441\u0442\u0440\u0438\u0442 (Kent Overstreet), \u0430\u0432\u0442\u043e\u0440 \u0432\u0445\u043e\u0434\u044f\u0449\u0435\u0439 \u0432 \u0441\u043e\u0441\u0442\u0430\u0432 \u044f\u0434\u0440\u0430 Linux \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043a\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0431\u043b\u043e\u0447\u043d\u044b\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 \u043d\u0430 SSD-\u043d\u0430\u043a\u043e\u043f\u0438\u0442\u0435\u043b\u044f\u0445 BCache, \u0432 \u0441\u0432\u043e\u0451\u043c \u0432\u044b\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u0438 \u043d\u0430 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0438 LSFMM 2023 (Linux Storage, Filesystem, Memory.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/hu\/blog\/news\/prodvizhenie-bcachefs-v-sostav-yadra-linux\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<meta property=\"og:locale\" content=\"hu_HU\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u041f\u0440\u043e\u0434\u0432\u0438\u0436\u0435\u043d\u0438\u0435 Bcachefs \u0432 \u0441\u043e\u0441\u0442\u0430\u0432 \u044f\u0434\u0440\u0430 Linux | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041a\u0435\u043d\u0442 \u041e\u0432\u0435\u0440\u0441\u0442\u0440\u0438\u0442 (Kent Overstreet), \u0430\u0432\u0442\u043e\u0440 \u0432\u0445\u043e\u0434\u044f\u0449\u0435\u0439 \u0432 \u0441\u043e\u0441\u0442\u0430\u0432 \u044f\u0434\u0440\u0430 Linux \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043a\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0431\u043b\u043e\u0447\u043d\u044b\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 \u043d\u0430 SSD-\u043d\u0430\u043a\u043e\u043f\u0438\u0442\u0435\u043b\u044f\u0445 BCache, \u0432 \u0441\u0432\u043e\u0451\u043c \u0432\u044b\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u0438 \u043d\u0430 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0438 LSFMM 2023 (Linux Storage, Filesystem, Memory.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/hu\/blog\/news\/prodvizhenie-bcachefs-v-sostav-yadra-linux\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2023-06-19T13:10:24+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2023-06-21T09:07:42+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47A Bcachefs n\u00e9pszer\u0171s\u00edt\u00e9se a Linux kernelbe | ProHoster","description":"Kent Overstreet, a Linux kernel\u00e9be be\u00e9p\u00edtett SSD blokkos t\u00e1rol\u00e1si rendszer, a BCache szerz\u0151je, a LSFMM 2023 (Linux Storage, Filesystem, Memory) konferenci\u00e1n tartott el\u0151ad\u00e1s\u00e1ban.","canonical_url":"https:\/\/prohoster.info\/hu\/blog\/news\/prodvizhenie-bcachefs-v-sostav-yadra-linux","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"hu_HU","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u041f\u0440\u043e\u0434\u0432\u0438\u0436\u0435\u043d\u0438\u0435 Bcachefs \u0432 \u0441\u043e\u0441\u0442\u0430\u0432 \u044f\u0434\u0440\u0430 Linux | ProHoster","og:description":"\u041a\u0435\u043d\u0442 \u041e\u0432\u0435\u0440\u0441\u0442\u0440\u0438\u0442 (Kent Overstreet), \u0430\u0432\u0442\u043e\u0440 \u0432\u0445\u043e\u0434\u044f\u0449\u0435\u0439 \u0432 \u0441\u043e\u0441\u0442\u0430\u0432 \u044f\u0434\u0440\u0430 Linux \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043a\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0431\u043b\u043e\u0447\u043d\u044b\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 \u043d\u0430 SSD-\u043d\u0430\u043a\u043e\u043f\u0438\u0442\u0435\u043b\u044f\u0445 BCache, \u0432 \u0441\u0432\u043e\u0451\u043c \u0432\u044b\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u0438 \u043d\u0430 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0438 LSFMM 2023 (Linux Storage, Filesystem, Memory.","og:url":"https:\/\/prohoster.info\/hu\/blog\/news\/prodvizhenie-bcachefs-v-sostav-yadra-linux","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2023-06-19T13:10:24+00:00","article:modified_time":"2023-06-21T09:07:42+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":[],"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts\/109017","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/comments?post=109017"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts\/109017\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/media?parent=109017"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/categories?post=109017"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/tags?post=109017"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}