Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/fs/puffs



hi,

> Module Name:  src
> Committed By: manu
> Date:         Wed Sep 21 15:36:33 UTC 2011
> 
> Modified Files:
>       src/sys/fs/puffs: puffs_vfsops.c puffs_vnops.c
> 
> Log Message:
> Make sure ioflush does not sleep in PUFFS code path, waiting for a mutex,
> a memory allocation, or a response from the filesystem.
> 
> This avoids deadlocks in the following situations:
> 1) when memory is low: ioflush waits the fileystem, the fielsystem waits
>    for memory

can you explain how it is a problem?

YAMAMOTO Takashi

> 2) when the filesystem does not respond (e.g.: network outage ona
>    distributed filesystem)
> 
> 
> To generate a diff of this commit:
> cvs rdiff -u -r1.96 -r1.97 src/sys/fs/puffs/puffs_vfsops.c
> cvs rdiff -u -r1.155 -r1.156 src/sys/fs/puffs/puffs_vnops.c
> 
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.


Home | Main Index | Thread Index | Old Index