Re: main thread event loop can be blocked
Hitoshi Mitake <[email protected]> Fri, 27 Feb 2015 13:14:41 +0900
| Newsgroups | org.kernel.vger.stgt |
|---|---|
| Message-ID | <87385sat3i.wl%[email protected]> |
At Tue, 27 Jan 2015 21:02:08 +0800, Yifeng Xu wrote: > > if a backing store is network based, when it is added to a target as a > lun, the main thread may be blocked in its bs_open function, > then all network I/O for other luns will be blocked too, what's the > solution to the problem ? > > Regards, bs_open() would block main thread. But open is rare event so it wouldn't be problematic. Hot I/O requests can be processed in worker threads if a backing store uses bs_thread_cmd_submit(). Thanks, Hitoshi > -- > To unsubscribe from this list: send the line "unsubscribe stgt" in > the body of a message to [email protected] > More majordomo info at http://vger.kernel.org/majordomo-info.html