Skip to contentSkip to conversation

blktests: call for agreement to relicense GPL-2.0 files

DISCUSSION Shin'ichiro Kawasaki 7 participants 10 messages Jul 7 – Aug 22 Block layer

lore
Share & tools
lore
#0 lore raw

Hello blktests contributors,

Recent discussion unveiled a license inconsistency [1]. Currently, each file of blktests has one of the licenses: GPL-2.0, GPL-2.0+ or GPL-3.0+. Majority of the blktests code has GPL-3.0+, so the effective main license is GPL-3.0+ (e.g., check, common/rc). However, GPL-2.0 and GPL-3.0 are not compatible with each other [2]. Because the majority of blktests is GPL-3.0+, blktests cannot contain GPL-2.0 files. All files shall be GPL-2.0+ or GPL-3.0+.

[1] https://lore.kernel.org/linux-block/[email protected]/
[2] https://www.gnu.org/licenses/gpl-faq.html#v2v3Compatibility

As of July 2026, seven files below have GPL-2.0. It is desired to change their license to GPL-2.0+ (or GPL-3.0+). The list below shows Authors and Contributors of each file. "Author" means the original file creator who set the license GPL-2.0. "Contributor" means those who made changes to the files later on.

1) block/029
Author: Bart Van Assche <[email protected]>
Contributors: Yi Zhang <[email protected]>
Christoph Hellwig <[email protected]> Li Zhijian <[email protected]>

2) block/030
Author: Bart Van Assche <[email protected]>
Contributors: Christoph Hellwig <[email protected]>
Li Zhijian <[email protected]> Akinobu Mita <[email protected]>

3) block/031
Author: Bart Van Assche <[email protected]>
Contributors: Yi Zhang <[email protected]>
Christoph Hellwig <[email protected]> Shin'ichiro Kawasaki <[email protected]>

4) block/040
Author: Ming Lei <[email protected]>

5) block/042
Author: Keith Busch <[email protected]>
Contributors: Shin'ichiro Kawasaki <[email protected]>
John Pittman <[email protected]>

6) block/043
Author: Keith Busch <[email protected]>
Contributors: Shin'ichiro Kawasaki <[email protected]>

7) src/dio-offsets.c
Author: Keith Busch <[email protected]>
Contributors: Shin'ichiro Kawasaki <[email protected]>
Bart Van Assche <[email protected]>

To the authors and the contributors,

I would like to call for your responses. Please let us know if you agree to modify the license of the files from GPL-2.0 to GPL-2.0+ (or GPL-3.0+).

I will wait for a few weeks to gather responses. Once agreement gets estabilished, I will ask the authors to submit patches to make the license change. Any other general comments on this topic will be appreciated also.

And as one of the contributors, here I express my agreement to change the license of the files :)

#1 lore raw
Quoted 30 lines · Shin'ichiro Kawasaki

Hello blktests contributors,

Recent discussion unveiled a license inconsistency [1]. Currently, each file of blktests has one of the licenses: GPL-2.0, GPL-2.0+ or GPL-3.0+. Majority of the blktests code has GPL-3.0+, so the effective main license is GPL-3.0+ (e.g., check, common/rc). However, GPL-2.0 and GPL-3.0 are not compatible with each other [2]. Because the majority of blktests is GPL-3.0+, blktests cannot contain GPL-2.0 files. All files shall be GPL-2.0+ or GPL-3.0+.

[1] https://lore.kernel.org/linux-block/[email protected]/
[2] https://www.gnu.org/licenses/gpl-faq.html#v2v3Compatibility

As of July 2026, seven files below have GPL-2.0. It is desired to change their license to GPL-2.0+ (or GPL-3.0+). The list below shows Authors and Contributors of each file. "Author" means the original file creator who set the license GPL-2.0. "Contributor" means those who made changes to the files later on.

1) block/029
Author: Bart Van Assche <[email protected]>
Contributors: Yi Zhang <[email protected]>
Christoph Hellwig <[email protected]> Li Zhijian <[email protected]>

2) block/030
Author: Bart Van Assche <[email protected]>
Contributors: Christoph Hellwig <[email protected]>
Li Zhijian <[email protected]> Akinobu Mita <[email protected]>

Quoted 8 lines

3) block/031
Author: Bart Van Assche <[email protected]>
Contributors: Yi Zhang <[email protected]>
Christoph Hellwig <[email protected]> Shin'ichiro Kawasaki <[email protected]>

4) block/040
Author: Ming Lei <[email protected]>

Ack for switching block/040 from GPL-2.0 to GPL-3.0+.

Thanks
Ming Lei

#2 lore raw
In reply to Shin'ichiro Kawasaki
Quoted 4 lines · Shin'ichiro Kawasaki

To the authors and the contributors,

I would like to call for your responses. Please let us know if you agree to modify the license of the files from GPL-2.0 to GPL-2.0+ (or GPL-3.0+).

I'm fine with making this change.

Thanks,

Bart.

#3 lore raw
In reply to Shin'ichiro Kawasaki
Quoted 5 lines · Shin'ichiro Kawasaki

5) block/042
Author: Keith Busch <[email protected]>
Contributors: Shin'ichiro Kawasaki <[email protected]>
John Pittman <[email protected]>

Quoted 8 lines

6) block/043
Author: Keith Busch <[email protected]>
Contributors: Shin'ichiro Kawasaki <[email protected]>

7) src/dio-offsets.c
Author: Keith Busch <[email protected]>
Contributors: Shin'ichiro Kawasaki <[email protected]>
Bart Van Assche <[email protected]>

Ack for switching to GPL-3.0+

#7 lore raw
In reply to Shin'ichiro Kawasaki

Three weeks have passed since my call for agreement. Thank you very much to those who responded. There was no objection to the change. I conclude that the agreement has been made, and would like to take the next step for the fix.

- John Pittman did not respond, but I confirmed off-list that he has no objection to the change.

- I did not get a response from Yi Zhang's Red Hat address. I tried to reach Yi Zhang via the e-mail address on Yi Zhang's GitHub account, but received no response there either. I concluded it is not productive to wait any longer.

Yi Zhang's contributions to the relevant source files are the two commits below:

A) 38fc272ee91f ("tests/block: add the missing _have_fio check for block/029 block/031")
B) 06cd1d595571 ("block/031: remove the fio verify.state file")

These are small changes that added a couple of _have_fio calls and a fio option. I think it is reasonable to consider the changes as "de minimis" and they do not prevent the relicense.

Bart, Ming and Keith,

May I ask you to create and post a patch to change the license of the files you authored from GPL-2.0 to GPL-3.0+?

- Bart: block/029,030,031
Contributors: Christoph Hellwig <[email protected]>
Li Zhijian <[email protected]> Akinobu Mita <[email protected]> Shin'ichiro Kawasaki <[email protected]>
- Ming: block/040
- Keith: block/042,043, src/dio-offsets.c
Contributors: Shin'ichiro Kawasaki <[email protected]>
John Pittman <[email protected]>
Bart Van Assche <[email protected]>

If you are too busy, please let me know. I can create the patch on your behalf, but since this is a license change, it's better if you author it yourselves.

Bart and Keith,

When you post the patch, please CC the contributors, so that they can provide their Acked-by tags.

Contributors,

When you receive the CCed patches, please respond with your Acked-by tag to record your agreement to the relicense.

Bart,

Could you please note in the commit message that Yi Zhang's two commits A) and B) above are regarded as "de minimis"? I drafted the description as below:

Because Yi Zhang did not respond to the relicensing request (contacted via e-mail addresses on Red Hat and on the GitHub account), and commits A) and
B) by Yi Zhang are regarded as de minimis, acknowledgement by Yi Zhang is not expected.

Thanks in advance for your cooperation.

Quoted 65 lines · Shin'ichiro Kawasaki

Hello blktests contributors,

Recent discussion unveiled a license inconsistency [1]. Currently, each file of blktests has one of the licenses: GPL-2.0, GPL-2.0+ or GPL-3.0+. Majority of the blktests code has GPL-3.0+, so the effective main license is GPL-3.0+ (e.g., check, common/rc). However, GPL-2.0 and GPL-3.0 are not compatible with each other [2]. Because the majority of blktests is GPL-3.0+, blktests cannot contain GPL-2.0 files. All files shall be GPL-2.0+ or GPL-3.0+.

[1] https://lore.kernel.org/linux-block/[email protected]/
[2] https://www.gnu.org/licenses/gpl-faq.html#v2v3Compatibility

As of July 2026, seven files below have GPL-2.0. It is desired to change their license to GPL-2.0+ (or GPL-3.0+). The list below shows Authors and Contributors of each file. "Author" means the original file creator who set the license GPL-2.0. "Contributor" means those who made changes to the files later on.

1) block/029
Author: Bart Van Assche <[email protected]>
Contributors: Yi Zhang <[email protected]>
Christoph Hellwig <[email protected]> Li Zhijian <[email protected]>

2) block/030
Author: Bart Van Assche <[email protected]>
Contributors: Christoph Hellwig <[email protected]>
Li Zhijian <[email protected]> Akinobu Mita <[email protected]>

3) block/031
Author: Bart Van Assche <[email protected]>
Contributors: Yi Zhang <[email protected]>
Christoph Hellwig <[email protected]> Shin'ichiro Kawasaki <[email protected]>

4) block/040
Author: Ming Lei <[email protected]>

5) block/042
Author: Keith Busch <[email protected]>
Contributors: Shin'ichiro Kawasaki <[email protected]>
John Pittman <[email protected]>

6) block/043
Author: Keith Busch <[email protected]>
Contributors: Shin'ichiro Kawasaki <[email protected]>

7) src/dio-offsets.c
Author: Keith Busch <[email protected]>
Contributors: Shin'ichiro Kawasaki <[email protected]>
Bart Van Assche <[email protected]>

To the authors and the contributors,

I would like to call for your responses. Please let us know if you agree to modify the license of the files from GPL-2.0 to GPL-2.0+ (or GPL-3.0+).

I will wait for a few weeks to gather responses. Once agreement gets estabilished, I will ask the authors to submit patches to make the license change. Any other general comments on this topic will be appreciated also.

And as one of the contributors, here I express my agreement to change the license of the files :)

#8 lore raw

On Jul 27, 2026 / 13:10, Shin'ichiro Kawasaki wrote:
[...]

Quoted 16 lines

Bart, Ming and Keith,

May I ask you to create and post a patch to change the license of the files you authored from GPL-2.0 to GPL-3.0+?

- Bart: block/029,030,031
Contributors: Christoph Hellwig <[email protected]>
Li Zhijian <[email protected]> Akinobu Mita <[email protected]> Shin'ichiro Kawasaki <[email protected]>
- Ming: block/040
- Keith: block/042,043, src/dio-offsets.c
Contributors: Shin'ichiro Kawasaki <[email protected]>
John Pittman <[email protected]>
Bart Van Assche <[email protected]>

Quoted 3 lines

If you are too busy, please let me know. I can create the patch on your behalf, but since this is a license change, it's better if you author it yourselves.

I rethought and decided to take my liberty to create the patches for the relicensing on behalf of the authors. I will send out the patches soon.

Authors, and contributors,

May I ask your responses to the patches with you Acked-by tags? Thanks in advance.

Acked-by
#9 lore raw
Quoted 23 lines · Shin'ichiro Kawasaki

On Jul 27, 2026 / 13:10, Shin'ichiro Kawasaki wrote:
[...]

Quoted 16 lines

Bart, Ming and Keith,

May I ask you to create and post a patch to change the license of the files you authored from GPL-2.0 to GPL-3.0+?

- Bart: block/029,030,031
Contributors: Christoph Hellwig <[email protected]>
Li Zhijian <[email protected]> Akinobu Mita <[email protected]> Shin'ichiro Kawasaki <[email protected]>
- Ming: block/040
- Keith: block/042,043, src/dio-offsets.c
Contributors: Shin'ichiro Kawasaki <[email protected]>
John Pittman <[email protected]>
Bart Van Assche <[email protected]>

Quoted 3 lines

If you are too busy, please let me know. I can create the patch on your behalf, but since this is a license change, it's better if you author it yourselves.

Quoted 7 lines

I rethought and decided to take my liberty to create the patches for the relicensing on behalf of the authors. I will send out the patches soon.

Authors, and contributors,

May I ask your responses to the patches with you Acked-by tags? Thanks in advance.

thanks,
Ming Lei