文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>The Linux Kernel's SCSI Subsystem(2)

The Linux Kernel's SCSI Subsystem(2)

时间:2006-06-30  来源:Gerhalt

Earlier Problems and Current Myths

Dee-Ann LeBlanc
Tuesday, September 3, 2002 12:14:08 PM

Some of the Linux SCSI subsystem's bad reputation comes from legacy kernel issues. Way back when, there were a number of features that the SCSI subsystem required that weren't built into the kernel already, and so a lot of supporting structure had to be built within the subsystem rather than being farmed into the core kernel, or additional modules.

More subsystems began to need these features and so the kernel itself adopted many of them. However, the SCSI subsystem went through a series of primary maintainers, who no doubt spent much of their time getting up to speed on where everything stood before they found themselves having to move on due to lack of time or other issues. Not only that, but these maintainers were also busy trying to add new functionality to the subsystem and keeping it working with the current course of kernel development.

Once a longer-term maintainer took over the SCSI subsystem there was finally a chance to start a real strategy of removing the unneeded bulk. This problem has already been partially addressed in the 2.4.x kernel series, and more has been done for the 2.5.x series, but even when 2.6.x comes out there will still be more to do in this area.

There's just too many other issues to deal with as well, and of course if you deal with computers, you know that removing a piece of code that's "just harmlessly duplicating another function somewhere" often doesn't always prove to be harmless.

There is also a lot of redundancy left over in the Linux kernel SCSI subsystem's command structure itself, such as fields in one portion of the command structure that don't exist in others, because items that were phased out never fully got removed.

Another area that the SCSI team hears a lot about is queuing. Many programmers apparently believe that the SCSI subsystem handles its own queuing internally, and that this is an area that requires work, but in fact this is not the case.

Perhaps the biggest myth is that the entire Linux kernel SCSI subsystem needs to be rewritten. This is not entirely true. Rewriting small sections, and incrementally merging and changing parts until all of the problems are finally fixed can deal with most of the issues.

相关阅读 更多 +
排行榜 更多 +
超级冒险王安卓版

超级冒险王安卓版

休闲益智 下载
玩具小镇手机版

玩具小镇手机版

休闲益智 下载
这一关特上头手机版

这一关特上头手机版

休闲益智 下载