Re: [PATCH 2.6.11-rc2 12/29] ide: add ide_hwgroup_t.polling

Bartlomiej Zolnierkiewicz
2005-02-03T00:46:08Z

On Wed, 2 Feb 2005 11:55:38 +0900, Tejun Heo <tj@home-tj.org> wrote:
> > 12_ide_hwgroup_t_polling.patch
> >
> > ide_hwgroup_t.polling field added. 0 in poll_timeout field
> > used to indicate inactive polling but because 0 is a valid
> > jiffy value, though slim, there's a chance that something
> > weird can happen.

Is there really a possibility of something weird?

I'm not claiming that I like this way of coding but poll_timeout
is assigned either to '0' or to 'jiffies + WAIT_WORSTCASE'.

Bartlomiej