mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-24 12:44:11 +08:00
925c86a19b
Add a new config option that controls building the buffer_head code, and select it from all file systems and stacking drivers that need it. For the block device nodes and alternative iomap based buffered I/O path is provided when buffer_head support is not enabled, and iomap needs a a small tweak to define the IOMAP_F_BUFFER_HEAD flag to 0 to not call into the buffer_head code when it doesn't exist. Otherwise this is just Kconfig and ifdef changes. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Luis Chamberlain <mcgrof@kernel.org> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Link: https://lore.kernel.org/r/20230801172201.1923299-7-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
29 lines
977 B
Plaintext
29 lines
977 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
config BEFS_FS
|
|
tristate "BeOS file system (BeFS) support (read only)"
|
|
depends on BLOCK
|
|
select BUFFER_HEAD
|
|
select NLS
|
|
help
|
|
The BeOS File System (BeFS) is the native file system of Be, Inc's
|
|
BeOS. Notable features include support for arbitrary attributes
|
|
on files and directories, and database-like indices on selected
|
|
attributes. (Also note that this driver doesn't make those features
|
|
available at this time). It is a 64 bit filesystem, so it supports
|
|
extremely large volumes and files.
|
|
|
|
If you use this filesystem, you should also say Y to at least one
|
|
of the NLS (native language support) options below.
|
|
|
|
If you don't know what this is about, say N.
|
|
|
|
To compile this as a module, choose M here: the module will be
|
|
called befs.
|
|
|
|
config BEFS_DEBUG
|
|
bool "Debug BeFS"
|
|
depends on BEFS_FS
|
|
help
|
|
If you say Y here, you can use the 'debug' mount option to enable
|
|
debugging output from the driver.
|