https://github.com/torvalds/linux
Revision a516440542afcb9647f88d12c35640baf02d07ea authored by Jens Axboe on 10 September 2014, 15:02:03 UTC, committed by Jens Axboe on 10 September 2014, 15:02:03 UTC
If we are running in a kdump environment, resources are scarce. For some SCSI setups with a huge set of shared tags, we run out of memory allocating what the drivers is asking for. So implement a scale back logic to reduce the tag depth for those cases, allowing the driver to successfully load. We should extend this to detect low memory situations, and implement a sane fallback for those (1 queue, 64 tags, or something like that). Tested-by: Robert Elliott <elliott@hp.com> Signed-off-by: Jens Axboe <axboe@fb.com>
1 parent df35c7c
Tip revision: a516440542afcb9647f88d12c35640baf02d07ea authored by Jens Axboe on 10 September 2014, 15:02:03 UTC
blk-mq: scale depth and rq map appropriate if low on memory
blk-mq: scale depth and rq map appropriate if low on memory
Tip revision: a516440
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 1.6 KB |
Makefile | -rw-r--r-- | 451 bytes |
acl.c | -rw-r--r-- | 3.7 KB |
endian24.h | -rw-r--r-- | 1.5 KB |
file.c | -rw-r--r-- | 4.5 KB |
inode.c | -rw-r--r-- | 10.1 KB |
ioctl.c | -rw-r--r-- | 4.0 KB |
jfs_acl.h | -rw-r--r-- | 1.2 KB |
jfs_btree.h | -rw-r--r-- | 4.0 KB |
jfs_debug.c | -rw-r--r-- | 2.8 KB |
jfs_debug.h | -rw-r--r-- | 3.4 KB |
jfs_dinode.h | -rw-r--r-- | 5.6 KB |
jfs_discard.c | -rw-r--r-- | 3.1 KB |
jfs_discard.h | -rw-r--r-- | 1.0 KB |
jfs_dmap.c | -rw-r--r-- | 111.6 KB |
jfs_dmap.h | -rw-r--r-- | 11.2 KB |
jfs_dtree.c | -rw-r--r-- | 100.5 KB |
jfs_dtree.h | -rw-r--r-- | 6.6 KB |
jfs_extent.c | -rw-r--r-- | 17.3 KB |
jfs_extent.h | -rw-r--r-- | 1.3 KB |
jfs_filsys.h | -rw-r--r-- | 8.9 KB |
jfs_imap.c | -rw-r--r-- | 84.1 KB |
jfs_imap.h | -rw-r--r-- | 6.4 KB |
jfs_incore.h | -rw-r--r-- | 7.4 KB |
jfs_inode.c | -rw-r--r-- | 4.0 KB |
jfs_inode.h | -rw-r--r-- | 2.5 KB |
jfs_lock.h | -rw-r--r-- | 1.5 KB |
jfs_logmgr.c | -rw-r--r-- | 59.5 KB |
jfs_logmgr.h | -rw-r--r-- | 14.7 KB |
jfs_metapage.c | -rw-r--r-- | 19.6 KB |
jfs_metapage.h | -rw-r--r-- | 4.2 KB |
jfs_mount.c | -rw-r--r-- | 12.7 KB |
jfs_superblock.h | -rw-r--r-- | 4.1 KB |
jfs_txnmgr.c | -rw-r--r-- | 75.4 KB |
jfs_txnmgr.h | -rw-r--r-- | 8.2 KB |
jfs_types.h | -rw-r--r-- | 4.0 KB |
jfs_umount.c | -rw-r--r-- | 4.0 KB |
jfs_unicode.c | -rw-r--r-- | 3.3 KB |
jfs_unicode.h | -rw-r--r-- | 3.7 KB |
jfs_uniupr.c | -rw-r--r-- | 7.5 KB |
jfs_xattr.h | -rw-r--r-- | 2.7 KB |
jfs_xtree.c | -rw-r--r-- | 92.1 KB |
jfs_xtree.h | -rw-r--r-- | 4.0 KB |
namei.c | -rw-r--r-- | 37.1 KB |
resize.c | -rw-r--r-- | 14.7 KB |
super.c | -rw-r--r-- | 23.2 KB |
symlink.c | -rw-r--r-- | 1.6 KB |
xattr.c | -rw-r--r-- | 27.1 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...