https://github.com/torvalds/linux
Revision 55f0b4c546d1c87cccba63dc0fc5eb70e2b41733 authored by Benjamin Marzinski on 25 January 2010, 17:23:24 UTC, committed by Steven Whitehouse on 01 February 2010, 09:59:54 UTC
ince gfs2 writes the rindex file a block at a time, and releases the
exclusive lock after each block, it is possible that another process
will grab the lock in the middle of the write.  Since rindex entries are
not an even divisor of blocks, that other process may see partial
entries.  On grows, this is fine.  The process can simply ignore the the
partial entires. Previously, the code withdrew when it saw partial
entries. Now it simply ignores them.

Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
1 parent 0f585f1
History
Tip revision: 55f0b4c546d1c87cccba63dc0fc5eb70e2b41733 authored by Benjamin Marzinski on 25 January 2010, 17:23:24 UTC
GFS2: Don't withdraw on partial rindex entries
Tip revision: 55f0b4c
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 843 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.8 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 160.6 KB
Makefile -rw-r--r-- 52.0 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top