mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-16 14:02:10 +00:00
a0f62ac636
Add blkcnt_t as the type of inode.i_blocks. This enables you to make the size of blkcnt_t either 4 bytes or 8 bytes on 32 bits architecture with CONFIG_LSF. - CONFIG_LSF Add new configuration parameter. - blkcnt_t On h8300, i386, mips, powerpc, s390 and sh that define sector_t, blkcnt_t is defined as u64 if CONFIG_LSF is enabled; otherwise it is defined as unsigned long. On other architectures, it is defined as unsigned long. - inode.i_blocks Change the type from sector_t to blkcnt_t. Signed-off-by: Takashi Sato <sho@tnes.nec.co.jp> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
36 lines
1.2 KiB
Plaintext
36 lines
1.2 KiB
Plaintext
#
|
|
# Block layer core configuration
|
|
#
|
|
#XXX - it makes sense to enable this only for 32-bit subarch's, not for x86_64
|
|
#for instance.
|
|
config LBD
|
|
bool "Support for Large Block Devices"
|
|
depends on X86 || (MIPS && 32BIT) || PPC32 || (S390 && !64BIT) || SUPERH || UML
|
|
help
|
|
Say Y here if you want to attach large (bigger than 2TB) discs to
|
|
your machine, or if you want to have a raid or loopback device
|
|
bigger than 2TB. Otherwise say N.
|
|
|
|
config BLK_DEV_IO_TRACE
|
|
bool "Support for tracing block io actions"
|
|
select RELAY
|
|
select DEBUG_FS
|
|
help
|
|
Say Y here, if you want to be able to trace the block layer actions
|
|
on a given queue. Tracing allows you to see any traffic happening
|
|
on a block device queue. For more information (and the user space
|
|
support tools needed), fetch the blktrace app from:
|
|
|
|
git://brick.kernel.dk/data/git/blktrace.git
|
|
|
|
config LSF
|
|
bool "Support for Large Single Files"
|
|
depends on X86 || (MIPS && 32BIT) || PPC32 || ARCH_S390_31 || SUPERH || UML
|
|
default n
|
|
help
|
|
When CONFIG_LBD is disabled, say Y here if you want to
|
|
handle large file(bigger than 2TB), otherwise say N.
|
|
When CONFIG_LBD is enabled, Y is set automatically.
|
|
|
|
source block/Kconfig.iosched
|