Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1209480
| From | Brice Goglin <brice.goglin@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: Why is SECTOR_SIZE = 512 inside kernel ? |
| Date | 2015-08-18 23:10 +0200 |
| Message-ID | <pYWiS-1km-17@gated-at.bofh.it> (permalink) |
| References | <pYsb8-7Ms-9@gated-at.bofh.it> <pYt7d-Gw-21@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Le 17/08/2015 15:54, Theodore Ts'o a écrit : > > It's cast in stone. There are too many places all over the kernel, > especially in a huge number of file systems, which assume that the > sector size is 512 bytes. So above the block layer, the sector size > is always going to be 512. Could this be a problem when using pmem/nvdimm devices with byte-granularity (no BTT layer)? (hw_sector_size reports 512 in this case while we could expect 1 instead). Or it just doesn't matter because BTT is the only way to use these devices for filesystems like other block devices? thanks Brice -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Why is SECTOR_SIZE = 512 inside kernel ? Navin P <navinp1912@gmail.com> - 2015-08-17 15:00 +0200
Re: Why is SECTOR_SIZE = 512 inside kernel ? Theodore Ts'o <tytso@mit.edu> - 2015-08-17 16:00 +0200
Re: Why is SECTOR_SIZE = 512 inside kernel ? Brice Goglin <brice.goglin@gmail.com> - 2015-08-18 23:10 +0200
Re: Why is SECTOR_SIZE = 512 inside kernel ? tytso@mit.edu - 2015-08-18 23:40 +0200
csiph-web