Skip to contentSkip to conversation

bfq: Re-enable auto-loading when built as a module

PATCH In review Ben Hutchings 3 participants 13 messages Aug 13, 2017 – Aug 29, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 bfq: Re-enable auto-loading when built as a module

The block core requests modules with the "-iosched" name suffix, but bfq no longer has that suffix. Add an alias.

Fixes ea25da48086d ("block, bfq: split bfq-iosched.c into multiple ...")
---
 block/bfq-iosched.c | 1 +
 1 file changed, 1 insertion(+)
block/bfq-iosched.c +1 -0
index 436b6ca6b175..3a01563bd564 100644
@@ -4998,6 +4998,7 @@ static struct elevator_type iosched_bfq_mq = {
 	.elevator_name =	"bfq",
 	.elevator_owner =	THIS_MODULE,
 };
+MODULE_ALIAS("bfq-iosched");
 
 static int __init bfq_init(void)
 {
#1 lore raw

PATCH 2/2 mq-deadline: Enable auto-loading when built as module

The block core requests modules with the "-iosched" name suffix, but mq-deadline does not have that suffix. Add an alias.

Fixes 945ffb60c11d ("mq-deadline: add blk-mq adaptation of the deadline ...")
---
 block/mq-deadline.c | 1 +
 1 file changed, 1 insertion(+)
block/mq-deadline.c +1 -0
index 1b964a387afe..78e7698fa4ed 100644
@@ -660,6 +660,7 @@ static struct elevator_type mq_deadline = {
 	.elevator_name = "mq-deadline",
 	.elevator_owner = THIS_MODULE,
 };
+MODULE_ALIAS("mq-deadline-iosched");
 
 static int __init deadline_init(void)
 {
Reviewed-by on v1 1/2
#3 lore raw
In reply to Ben Hutchings
Quoted 15 lines · Ben Hutchings

The block core requests modules with the "-iosched" name suffix, but bfq no longer has that suffix. Add an alias.

Fixes ea25da48086d ("block, bfq: split bfq-iosched.c into multiple ...")
---
 block/bfq-iosched.c | 1 +
 1 file changed, 1 insertion(+)
block/bfq-iosched.c +0 -0
index 436b6ca6b175..3a01563bd564 100644

block/bfq-iosched.c static struct elevator_type iosched_bfq_mq = { · line 5004

Quoted 7 lines
block/bfq-iosched.c +1 -0
@@ -4998,6 +4998,7 @@ static struct elevator_type iosched_bfq_mq = {
 	.elevator_name =	"bfq",
 	.elevator_owner =	THIS_MODULE,
 };
+MODULE_ALIAS("bfq-iosched");
 
 static int __init bfq_init(void)
 {
Signature · 1 line
Ming
Reviewed-by on v1 2/2
#2 lore raw

Re: [PATCH 2/2] mq-deadline: Enable auto-loading when built as module

In reply to Ben Hutchings
Quoted 14 lines · Ben Hutchings

The block core requests modules with the "-iosched" name suffix, but mq-deadline does not have that suffix. Add an alias.

Fixes 945ffb60c11d ("mq-deadline: add blk-mq adaptation of the deadline ...")
---
 block/mq-deadline.c | 1 +
 1 file changed, 1 insertion(+)
block/mq-deadline.c +0 -0
index 1b964a387afe..78e7698fa4ed 100644

block/mq-deadline.c static struct elevator_type mq_deadline = { · line 666

Quoted 7 lines
block/mq-deadline.c +1 -0
@@ -660,6 +660,7 @@ static struct elevator_type mq_deadline = {
 	.elevator_name = "mq-deadline",
 	.elevator_owner = THIS_MODULE,
 };
+MODULE_ALIAS("mq-deadline-iosched");
 
 static int __init deadline_init(void)
 {
Signature · 1 line
Ming
maintainer
#4 lore raw
In reply to Ben Hutchings
Quoted 2 lines · Ben Hutchings

The block core requests modules with the "-iosched" name suffix, but bfq no longer has that suffix. Add an alias.

I'd apply these two, but both patches are mangled when saved. It's turning == into =3D and so forth.

Care to check your settings and resend?

Signature · 1 line
Jens Axboe
#5 lore raw
Quoted 8 lines · Jens Axboe
Quoted 2 lines · Ben Hutchings

The block core requests modules with the "-iosched" name suffix, but bfq no longer has that suffix.  Add an alias.

I'd apply these two, but both patches are mangled when saved. It's turning == into =3D and so forth.

Care to check your settings and resend?

Just tried saving and applying with 'git am' successfully. I think the problem is at your end.

Ben.

Signature · 2 lines
Ben Hutchings
Teamwork is essential - it allows you to blame someone else.
maintainer
#6 lore raw
Quoted 5 lines · Ben Hutchings
Quoted 4 lines · Jens Axboe
Quoted 2 lines · Ben Hutchings

The block core requests modules with the "-iosched" name suffix, but bfq no longer has that suffix. Add an alias.

Quoted 7 lines
Quoted 4 lines

I'd apply these two, but both patches are mangled when saved. It's turning == into =3D and so forth.

Care to check your settings and resend?

Just tried saving and applying with 'git am' successfully. I think the problem is at your end.

Then yours is the only one, I apply patches people send me all day long. Was the case both in tbird and mutt, both of them showed the diffs as mangled, and they showed up mangled when saved.

Signature · 1 line
Jens Axboe
maintainer
#7 lore raw
Quoted 9 lines · Jens Axboe
Quoted 8 lines · Ben Hutchings
Quoted 7 lines · Jens Axboe
Quoted 2 lines · Ben Hutchings

The block core requests modules with the "-iosched" name suffix, but bfq no longer has that suffix. Add an alias.

I'd apply these two, but both patches are mangled when saved. It's turning == into =3D and so forth.

Quoted 8 lines
Quoted 4 lines
Quoted 1 line

Care to check your settings and resend?

Just tried saving and applying with 'git am' successfully. I think the problem is at your end.

Then yours is the only one, I apply patches people send me all day long. Was the case both in tbird and mutt, both of them showed the diffs as mangled, and they showed up mangled when saved.

Here's your email in the archive:

https://marc.info/?l=linux-block&m=150264374920778&q=raw

Note this part:

Content-Transfer-Encoding: quoted-printable

Problem is definitely at your end.

Signature · 1 line
Jens Axboe
#8 lore raw
Quoted 23 lines · Jens Axboe
Quoted 13 lines · Jens Axboe
Quoted 12 lines · Ben Hutchings
Quoted 10 lines · Jens Axboe
Quoted 3 lines · Ben Hutchings

The block core requests modules with the "-iosched" name suffix, but
bfq no longer has that suffix.  Add an alias.

I'd apply these two, but both patches are mangled when saved. It's
turning == into =3D and so forth.

Care to check your settings and resend?

Quoted 8 lines
Quoted 3 lines

Just tried saving and applying with 'git am' successfully.  I think the
problem is at your end.

Then yours is the only one, I apply patches people send me all day long.
Was the case both in tbird and mutt, both of them showed the diffs as mangled, and they showed up mangled when saved.

Quoted 7 lines

Here's your email in the archive:

https://marc.info/?l=linux-block&m=150264374920778&q=raw

Note this part:

Content-Transfer-Encoding: quoted-printable

What about it? This is used for every mail with a non-ASCII name in it, for example. 'git am' understands it.

Quoted 1 line

Problem is definitely at your end.

Or perhaps in the middle? Anyway, here are the patches again as an mbox.

Ben.

Signature · 2 lines
Ben Hutchings
Teamwork is essential - it allows you to blame someone else.
maintainer
#9 lore raw
Quoted 26 lines · Ben Hutchings
Quoted 25 lines · Jens Axboe
Quoted 13 lines · Jens Axboe
Quoted 12 lines · Ben Hutchings
Quoted 10 lines · Jens Axboe
Quoted 3 lines · Ben Hutchings

The block core requests modules with the "-iosched" name suffix, but
bfq no longer has that suffix. Add an alias.

I'd apply these two, but both patches are mangled when saved. It's
turning == into =3D and so forth.

Care to check your settings and resend?

Quoted 8 lines
Quoted 3 lines

Just tried saving and applying with 'git am' successfully. I think the
problem is at your end.

Then yours is the only one, I apply patches people send me all day long.
Was the case both in tbird and mutt, both of them showed the diffs as mangled, and they showed up mangled when saved.

Here's your email in the archive:

Quoted 8 lines
Quoted 5 lines

https://marc.info/?l=linux-block&m=150264374920778&q=raw

Note this part:

Content-Transfer-Encoding: quoted-printable

What about it? This is used for every mail with a non-ASCII name in it, for example. 'git am' understands it.

What about it? It screws up the patch. Maybe git am understands it, but it's hard/impossible to read manually. I'm not going to apply anything that I can't personally read/review easily. Fix your setup, if you are going to be sending patches.

Quoted 4 lines
Quoted 1 line

Problem is definitely at your end.

Or perhaps in the middle? Anyway, here are the patches again as an mbox.

Feel free to browse other patches on the list, I don't see any that are quoted-printable. And I'd know, since I generally end up applying (or at least reviewing) most of them.

Signature · 1 line
Jens Axboe
#10 lore raw
Quoted 31 lines · Jens Axboe
Quoted 30 lines · Ben Hutchings
Quoted 29 lines · Jens Axboe
Quoted 13 lines · Jens Axboe
Quoted 12 lines · Ben Hutchings
Quoted 10 lines · Jens Axboe
Quoted 3 lines · Ben Hutchings

The block core requests modules with the "-iosched" name suffix, but
bfq no longer has that suffix.  Add an alias.

I'd apply these two, but both patches are mangled when saved. It's
turning == into =3D and so forth.

Care to check your settings and resend?

Quoted 8 lines
Quoted 3 lines

Just tried saving and applying with 'git am' successfully.  I think the
problem is at your end.

Then yours is the only one, I apply patches people send me all day long.
Was the case both in tbird and mutt, both of them showed the diffs as mangled, and they showed up mangled when saved.

Here's your email in the archive:

https://marc.info/?l=linux-block&m=150264374920778&q=raw

Note this part:

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

Content-Transfer-Encoding: quoted-printable

What about it?  This is used for every mail with a non-ASCII name in it, for example.  'git am' understands it.

What about it? It screws up the patch. Maybe git am understands it, but it's hard/impossible to read manually.

Where, other than the 'raw' link above, are you seeing the patch with q-p encoding not decoded?

Quoted 3 lines

I'm not going to apply anything
that I can't personally read/review easily. Fix your setup, if you are going to be sending patches.

So you won't accept patches from anyone with a non-ASCII name?

Ben.

Quoted 9 lines
Quoted 4 lines
Quoted 1 line

Problem is definitely at your end.

Or perhaps in the middle?  Anyway, here are the patches again as an mbox.

Feel free to browse other patches on the list, I don't see any that are quoted-printable. And I'd know, since I generally end up applying (or at least reviewing) most of them.

Signature · 2 lines
Ben Hutchings
Teamwork is essential - it allows you to blame someone else.
maintainer
#11 lore raw
Quoted 34 lines · Ben Hutchings
Quoted 33 lines · Jens Axboe
Quoted 32 lines · Ben Hutchings
Quoted 30 lines · Jens Axboe
Quoted 13 lines · Jens Axboe
Quoted 12 lines · Ben Hutchings
Quoted 10 lines · Jens Axboe
Quoted 3 lines · Ben Hutchings

The block core requests modules with the "-iosched" name suffix, but
bfq no longer has that suffix. Add an alias.

I'd apply these two, but both patches are mangled when saved. It's
turning == into =3D and so forth.

Care to check your settings and resend?

Quoted 8 lines
Quoted 3 lines

Just tried saving and applying with 'git am' successfully. I think the
problem is at your end.

Then yours is the only one, I apply patches people send me all day long.
Was the case both in tbird and mutt, both of them showed the diffs as mangled, and they showed up mangled when saved.

Here's your email in the archive:

https://marc.info/?l=linux-block&m=150264374920778&q=raw

Note this part:

Content-Transfer-Encoding: quoted-printable

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

What about it? This is used for every mail with a non-ASCII name in it, for example. 'git am' understands it.

What about it? It screws up the patch. Maybe git am understands it, but it's hard/impossible to read manually.

Where, other than the 'raw' link above, are you seeing the patch with q-p encoding not decoded?

When I save it and view it.

Quoted 5 lines
Quoted 3 lines

I'm not going to apply anything
that I can't personally read/review easily. Fix your setup, if you are going to be sending patches.

So you won't accept patches from anyone with a non-ASCII name?

You're being ridiculous.

Signature · 1 line
Jens Axboe
#12 lore raw
Quoted 38 lines · Jens Axboe
Quoted 37 lines · Ben Hutchings
Quoted 36 lines · Jens Axboe
Quoted 34 lines · Ben Hutchings
Quoted 23 lines · Jens Axboe
Quoted 13 lines · Jens Axboe
Quoted 12 lines · Ben Hutchings
Quoted 10 lines · Jens Axboe
Quoted 3 lines · Ben Hutchings

The block core requests modules with the "-iosched" name suffix, but
bfq no longer has that suffix.  Add an alias.

I'd apply these two, but both patches are mangled when saved. It's
turning == into =3D and so forth.

Care to check your settings and resend?

Quoted 8 lines
Quoted 3 lines

Just tried saving and applying with 'git am' successfully.  I think the
problem is at your end.

Then yours is the only one, I apply patches people send me all day long.
Was the case both in tbird and mutt, both of them showed the diffs as mangled, and they showed up mangled when saved.

Quoted 7 lines

Here's your email in the archive:

https://marc.info/?l=linux-block&m=150264374920778&q=raw

Note this part:

Content-Transfer-Encoding: quoted-printable

What about it?  This is used for every mail with a non-ASCII name in it, for example.  'git am' understands it.

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

What about it? It screws up the patch. Maybe git am understands it, but it's hard/impossible to read manually.

Where, other than the 'raw' link above, are you seeing the patch with q-p encoding not decoded?

When I save it and view it.

I don't understand why you wouldn't do that in your mailer. You're going to need to switch back to the mailer when you reply, after all. But if you want to display a quoted-printable file in a terminal, you can use 'qprint -d' to do that.

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

I'm not going to apply anything
that I can't personally read/review easily. Fix your setup, if you are going to be sending patches.

So you won't accept patches from anyone with a non-ASCII name?

You're being ridiculous.

Am I? It seems like they would trigger the same problem in your current workflow.

Ben.

Signature · 2 lines
Ben Hutchings
Teamwork is essential - it allows you to blame someone else.