Bug 136049 - unnecessary O_NONBLOCK on descriptor for disk file breaks with .624 kernel
Summary: unnecessary O_NONBLOCK on descriptor for disk file breaks with .624 kernel
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: squid
Version: 3
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jay Fenlason
QA Contact:
URL:
Whiteboard:
Depends On: 136057
Blocks: FC3Target
TreeView+ depends on / blocked
 
Reported: 2004-10-17 07:05 UTC by Ulrich Drepper
Modified: 2014-08-31 23:26 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-10-20 14:56:59 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
patch to remove unnecessary O_NONBLOCK use (495 bytes, patch)
2004-10-17 07:07 UTC, Ulrich Drepper
no flags Details | Diff

Description Ulrich Drepper 2004-10-17 07:05:54 UTC
Description of problem:
The .624 kernel has this questionable feature that read for files on
disk can return EAGAIN.  squid breaks badly if this happens since this
is not considered as a recoverable error.  The attached patch seems to
fix it.

Version-Release number of selected component (if applicable):
squid-2.5.STABLE6-2

How reproducible:
always

Steps to Reproduce:
1.start squid on .624 kernel
2.
3.
  
Actual results:
bails out with errors about not being able to read
/etc/squid/errors/ERR_READ_TIMEOUT or a similar file.

Expected results:
Should start up.

Additional iI'll attach a patch which should fix it.  Works for me at
least.

Comment 1 Ulrich Drepper 2004-10-17 07:07:13 UTC
Created attachment 105345 [details]
patch to remove unnecessary O_NONBLOCK use

Comment 2 Bill Nottingham 2004-10-20 05:26:19 UTC
kernel is fixed, deescalating


Comment 3 Jay Fenlason 2004-10-20 14:56:59 UTC
New squid in rawhide with patch, too. 


Note You need to log in before you can comment on or make changes to this bug.