Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 90c699a9 authored by Bartlomiej Zolnierkiewicz's avatar Bartlomiej Zolnierkiewicz Committed by Jens Axboe
Browse files

block: rename CONFIG_LBD to CONFIG_LBDAF



Follow-up to "block: enable by default support for large devices
and files on 32-bit archs".

Rename CONFIG_LBD to CONFIG_LBDAF to:
- allow update of existing [def]configs for "default y" change
- reflect that it is used also for large files support nowadays

Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent 3a02c8e8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -54,7 +54,7 @@ kernel patches.
    CONFIG_PREEMPT.

14: If the patch affects IO/Disk, etc: has been tested with and without
    CONFIG_LBD.
    CONFIG_LBDAF.

15: All codepaths have been exercised with all lockdep features enabled.

+1 −1
Original line number Diff line number Diff line
@@ -75,7 +75,7 @@ Linux カーネルパッチ投稿者向けチェックリスト
    ビルドした上、動作確認を行ってください。

14: もしパッチがディスクのI/O性能などに影響を与えるようであれば、
    'CONFIG_LBD'オプションを有効にした場合と無効にした場合の両方で
    'CONFIG_LBDAF'オプションを有効にした場合と無効にした場合の両方で
    テストを実施してみてください。

15: lockdepの機能を全て有効にした上で、全てのコードパスを評価してください。
+2 −2
Original line number Diff line number Diff line
@@ -23,8 +23,8 @@ menuconfig BLOCK

if BLOCK

config LBD
	bool "Support for large block devices and files"
config LBDAF
	bool "Support for large (2TB+) block devices and files"
	depends on !64BIT
	default y
	help
+1 −1
Original line number Diff line number Diff line
@@ -111,7 +111,7 @@ struct dm_exception_store {
/*
 * Funtions to manipulate consecutive chunks
 */
#  if defined(CONFIG_LBD) || (BITS_PER_LONG == 64)
#  if defined(CONFIG_LBDAF) || (BITS_PER_LONG == 64)
#    define DM_CHUNK_CONSECUTIVE_BITS 8
#    define DM_CHUNK_NUMBER_BITS 56

+1 −1
Original line number Diff line number Diff line
@@ -990,7 +990,7 @@ int ext3_group_extend(struct super_block *sb, struct ext3_super_block *es,
			sb->s_id, n_blocks_count);
		if (sizeof(sector_t) < 8)
			ext3_warning(sb, __func__,
			"CONFIG_LBD not enabled\n");
			"CONFIG_LBDAF not enabled\n");
		return -EINVAL;
	}

Loading