Skip to content

Commit 72deb45

Browse files
Christoph Hellwigaxboe
authored andcommitted
block: remove CONFIG_LBDAF
Currently support for 64-bit sector_t and blkcnt_t is optional on 32-bit architectures. These types are required to support block device and/or file sizes larger than 2 TiB, and have generally defaulted to on for a long time. Enabling the option only increases the i386 tinyconfig size by 145 bytes, and many data structures already always use 64-bit values for their in-core and on-disk data structures anyway, so there should not be a large change in dynamic memory usage either. Dropping this option removes a somewhat weird non-default config that has cause various bugs or compiler warnings when actually used. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent 75199aa commit 72deb45

61 files changed

Lines changed: 52 additions & 250 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎Documentation/process/submit-checklist.rst‎

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -72,47 +72,44 @@ and elsewhere regarding submitting Linux kernel patches.
7272
13) Has been build- and runtime tested with and without ``CONFIG_SMP`` and
7373
``CONFIG_PREEMPT.``
7474

75-
14) If the patch affects IO/Disk, etc: has been tested with and without
76-
``CONFIG_LBDAF.``
75+
16) All codepaths have been exercised with all lockdep features enabled.
7776

78-
15) All codepaths have been exercised with all lockdep features enabled.
77+
17) All new ``/proc`` entries are documented under ``Documentation/``
7978

80-
16) All new ``/proc`` entries are documented under ``Documentation/``
81-
82-
17) All new kernel boot parameters are documented in
79+
18) All new kernel boot parameters are documented in
8380
``Documentation/admin-guide/kernel-parameters.rst``.
8481

85-
18) All new module parameters are documented with ``MODULE_PARM_DESC()``
82+
19) All new module parameters are documented with ``MODULE_PARM_DESC()``
8683

87-
19) All new userspace interfaces are documented in ``Documentation/ABI/``.
84+
20) All new userspace interfaces are documented in ``Documentation/ABI/``.
8885
See ``Documentation/ABI/README`` for more information.
8986
Patches that change userspace interfaces should be CCed to
9087
linux-api@vger.kernel.org.
9188

92-
20) Check that it all passes ``make headers_check``.
89+
21) Check that it all passes ``make headers_check``.
9390

94-
21) Has been checked with injection of at least slab and page-allocation
91+
22) Has been checked with injection of at least slab and page-allocation
9592
failures. See ``Documentation/fault-injection/``.
9693

9794
If the new code is substantial, addition of subsystem-specific fault
9895
injection might be appropriate.
9996

100-
22) Newly-added code has been compiled with ``gcc -W`` (use
97+
23) Newly-added code has been compiled with ``gcc -W`` (use
10198
``make EXTRA_CFLAGS=-W``). This will generate lots of noise, but is good
10299
for finding bugs like "warning: comparison between signed and unsigned".
103100

104-
23) Tested after it has been merged into the -mm patchset to make sure
101+
24) Tested after it has been merged into the -mm patchset to make sure
105102
that it still works with all of the other queued patches and various
106103
changes in the VM, VFS, and other subsystems.
107104

108-
24) All memory barriers {e.g., ``barrier()``, ``rmb()``, ``wmb()``} need a
105+
25) All memory barriers {e.g., ``barrier()``, ``rmb()``, ``wmb()``} need a
109106
comment in the source code that explains the logic of what they are doing
110107
and why.
111108

112-
25) If any ioctl's are added by the patch, then also update
109+
26) If any ioctl's are added by the patch, then also update
113110
``Documentation/ioctl/ioctl-number.txt``.
114111

115-
26) If your modified source code depends on or uses any of the kernel
112+
27) If your modified source code depends on or uses any of the kernel
116113
APIs or features that are related to the following ``Kconfig`` symbols,
117114
then test multiple builds with the related ``Kconfig`` symbols disabled
118115
and/or ``=m`` (if that option is available) [not all of these at the

‎Documentation/translations/ja_JP/SubmitChecklist‎

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -74,38 +74,34 @@ Linux カーネルパッチ投稿者向けチェックリスト
7474
13: CONFIG_SMP, CONFIG_PREEMPT を有効にした場合と無効にした場合の両方で
7575
ビルドした上、動作確認を行ってください。
7676

77-
14: もしパッチがディスクのI/O性能などに影響を与えるようであれば、
78-
'CONFIG_LBDAF'オプションを有効にした場合と無効にした場合の両方で
79-
テストを実施してみてください。
77+
14: lockdepの機能を全て有効にした上で、全てのコードパスを評価してください。
8078

81-
15: lockdepの機能を全て有効にした上で、全てのコードパスを評価してください。
82-
83-
16: /proc に新しいエントリを追加した場合には、Documentation/ 配下に
79+
15: /proc に新しいエントリを追加した場合には、Documentation/ 配下に
8480
必ずドキュメントを追加してください。
8581

86-
17: 新しいブートパラメータを追加した場合には、
82+
16: 新しいブートパラメータを追加した場合には、
8783
必ずDocumentation/admin-guide/kernel-parameters.rst に説明を追加してください。
8884

89-
18: 新しくmoduleにパラメータを追加した場合には、MODULE_PARM_DESC()を
85+
17: 新しくmoduleにパラメータを追加した場合には、MODULE_PARM_DESC()を
9086
利用して必ずその説明を記述してください。
9187

92-
19: 新しいuserspaceインタフェースを作成した場合には、Documentation/ABI/ に
88+
18: 新しいuserspaceインタフェースを作成した場合には、Documentation/ABI/ に
9389
Documentation/ABI/README を参考にして必ずドキュメントを追加してください。
9490

95-
20: 'make headers_check'を実行して全く問題がないことを確認してください。
91+
19: 'make headers_check'を実行して全く問題がないことを確認してください。
9692

97-
21: 少なくともslabアロケーションとpageアロケーションに失敗した場合の
93+
20: 少なくともslabアロケーションとpageアロケーションに失敗した場合の
9894
挙動について、fault-injectionを利用して確認してください。
9995
Documentation/fault-injection/ を参照してください。
10096

10197
追加したコードがかなりの量であったならば、サブシステム特有の
10298
fault-injectionを追加したほうが良いかもしれません。
10399

104-
22: 新たに追加したコードは、`gcc -W'でコンパイルしてください。
100+
21: 新たに追加したコードは、`gcc -W'でコンパイルしてください。
105101
このオプションは大量の不要なメッセージを出力しますが、
106102
"warning: comparison between signed and unsigned" のようなメッセージは、
107103
バグを見つけるのに役に立ちます。
108104

109-
23: 投稿したパッチが -mm パッチセットにマージされた後、全ての既存のパッチや
105+
22: 投稿したパッチが -mm パッチセットにマージされた後、全ての既存のパッチや
110106
VM, VFS およびその他のサブシステムに関する様々な変更と、現時点でも共存
111107
できることを確認するテストを行ってください。

‎arch/arc/configs/haps_hs_defconfig‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ CONFIG_PERF_EVENTS=y
1515
# CONFIG_COMPAT_BRK is not set
1616
CONFIG_SLAB=y
1717
CONFIG_MODULES=y
18-
# CONFIG_LBDAF is not set
1918
# CONFIG_BLK_DEV_BSG is not set
2019
# CONFIG_IOSCHED_DEADLINE is not set
2120
# CONFIG_IOSCHED_CFQ is not set

‎arch/arc/configs/haps_hs_smp_defconfig‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ CONFIG_PERF_EVENTS=y
1717
CONFIG_SLAB=y
1818
CONFIG_KPROBES=y
1919
CONFIG_MODULES=y
20-
# CONFIG_LBDAF is not set
2120
# CONFIG_BLK_DEV_BSG is not set
2221
# CONFIG_IOSCHED_DEADLINE is not set
2322
# CONFIG_IOSCHED_CFQ is not set

‎arch/arc/configs/nsim_700_defconfig‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ CONFIG_PERF_EVENTS=y
1818
CONFIG_ISA_ARCOMPACT=y
1919
CONFIG_KPROBES=y
2020
CONFIG_MODULES=y
21-
# CONFIG_LBDAF is not set
2221
# CONFIG_BLK_DEV_BSG is not set
2322
# CONFIG_IOSCHED_DEADLINE is not set
2423
# CONFIG_IOSCHED_CFQ is not set

‎arch/arc/configs/nsim_hs_defconfig‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ CONFIG_MODULES=y
2020
CONFIG_MODULE_FORCE_LOAD=y
2121
CONFIG_MODULE_UNLOAD=y
2222
CONFIG_MODULE_FORCE_UNLOAD=y
23-
# CONFIG_LBDAF is not set
2423
# CONFIG_BLK_DEV_BSG is not set
2524
# CONFIG_IOSCHED_DEADLINE is not set
2625
# CONFIG_IOSCHED_CFQ is not set

‎arch/arc/configs/nsim_hs_smp_defconfig‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ CONFIG_MODULES=y
1818
CONFIG_MODULE_FORCE_LOAD=y
1919
CONFIG_MODULE_UNLOAD=y
2020
CONFIG_MODULE_FORCE_UNLOAD=y
21-
# CONFIG_LBDAF is not set
2221
# CONFIG_BLK_DEV_BSG is not set
2322
# CONFIG_IOSCHED_DEADLINE is not set
2423
# CONFIG_IOSCHED_CFQ is not set

‎arch/arc/configs/nsimosci_defconfig‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ CONFIG_PERF_EVENTS=y
1818
CONFIG_ISA_ARCOMPACT=y
1919
CONFIG_KPROBES=y
2020
CONFIG_MODULES=y
21-
# CONFIG_LBDAF is not set
2221
# CONFIG_BLK_DEV_BSG is not set
2322
# CONFIG_IOSCHED_DEADLINE is not set
2423
# CONFIG_IOSCHED_CFQ is not set

‎arch/arc/configs/nsimosci_hs_defconfig‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ CONFIG_PERF_EVENTS=y
1717
# CONFIG_COMPAT_BRK is not set
1818
CONFIG_KPROBES=y
1919
CONFIG_MODULES=y
20-
# CONFIG_LBDAF is not set
2120
# CONFIG_BLK_DEV_BSG is not set
2221
# CONFIG_IOSCHED_DEADLINE is not set
2322
# CONFIG_IOSCHED_CFQ is not set

‎arch/arc/configs/nsimosci_hs_smp_defconfig‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ CONFIG_PERF_EVENTS=y
1212
# CONFIG_COMPAT_BRK is not set
1313
CONFIG_KPROBES=y
1414
CONFIG_MODULES=y
15-
# CONFIG_LBDAF is not set
1615
# CONFIG_BLK_DEV_BSG is not set
1716
# CONFIG_IOSCHED_DEADLINE is not set
1817
# CONFIG_IOSCHED_CFQ is not set

0 commit comments

Comments
 (0)