1 Sep 2006 08:31
Re: [PATCH] block: add support for shared tag maps
Ed Lin <ed.lin <at> promise.com>
2006-09-01 06:31:51 GMT
2006-09-01 06:31:51 GMT
======= On 2006-09-01 06:21:45, James Bottomley wrote: >On Thu, 2006-08-31 at 16:55 +0800, Ed Lin wrote: >> EXPORT_SYMBOL(blk_free_tags) ? >> Also, add new function definitions in blkdev.h? > >Yes .. fixed that up when I tried to use it in a module. > >So, given these two plus another patch that should fix all of the sync >cache issues, how about this as the final patch for stex (to replace the >[PATCH 3/3] stex: use block layer tagging)? > Thanks. It's good. But here are a few issues. 1.Maybe we need to check the result of scsi_init_shared_tag_map. It's unlikely to fail. In case it really fails, we can simply exit since we need tagging. Just checking. 2.During shutdown/unload, we need to notify firmware to stop some background activities, that we are going to shutdown. If we don't do this, and the power is switched off when firmware is not ready, there may be error. It's possible the firmware is doing something that need to be stopped before shutdown. So it's different from a simple cache issue. So it's better to keep the stex_hba_stop function and the .shutdown entry. In normal cases, there is no outside command at the stage when shutdown functions are called. So we can safely assume the tag is 0, and issue the notifying command, and then exit. It's only one and it(Continue reading)
RSS Feed