Re: Block: Trouble with kobject initialisation for blk_cmd_filter

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jens Axboe <jens.axboe@...>
Cc: FUJITA Tomonori <fujita.tomonori@...>, <greg@...>, <linux-kernel@...>
Date: Tuesday, September 9, 2008 - 12:57 pm

Jens Axboe <jens.axboe@oracle.com> wrote:
[...]

Well, but why is it in struct request_queue then? Is it going to be
moved back to the gendisk eventually?


I won't bother with the patch against 2.6.27-rc then. What about 2.6.28
though? Not that I really care whether the cmd_filter appears under sda/
or sda/queue/, I just wanted to point out that the sysfs code can be
simplified considerably. The things I do care about, of course, are the
two problems that have been fixed by my patch: There are no spurious
warnings and stack dumps due to kobject reinitialisation and the
cmd_filter sysfs interface inherits proper locking. Please take this
into consideration if you decide not to reuse the queue layer sysfs
interface. Otherwise, just let me know if you want me to port the patch
(just the cmd_filter part or the sysfs stuff as well) to next-200809..

Regards,

Elias
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Block: Trouble with kobject initialisation for blk_cmd_f..., Elias Oltmanns, (Tue Sep 9, 12:57 pm)