Whamcloud - gitweb
This changes the fsfilt transaction calculations to take into account the
authoradilger <adilger>
Tue, 16 Mar 2004 23:13:19 +0000 (23:13 +0000)
committeradilger <adilger>
Tue, 16 Mar 2004 23:13:19 +0000 (23:13 +0000)
commit4ca57c5d8b9596769c8635e51ea84844e3fc6a91
treec9fd7fd6e16426c53febc7b72859ee0df2346e41
parent75a4bcee1d2d5d0362ad108fb9a7b14d85aaef87
This changes the fsfilt transaction calculations to take into account the
cases where we are updating multiple log files for a single transaction
(esp. unlink of files).  For small numbers of stripes this isn't very
likely to cause problems, but after updating to the new log format for 2306,
we happened to run single-file IORs with 32 stripes as the first IO to the
filesystem, and this caused 32 new logs to be created in a single transaction
when that file was unlinked.  This caused the unlink journal transaction to
repeatedly run out of credits and BUG the MDS until this patch was applied.

Removed fsfilt_extN.c since it is perpetually out-of-date and any time it
needs to be used it is easier to just run fsfilt_ext3.c through sed.
b=2059, b=2931
14 files changed:
lustre/ChangeLog
lustre/include/linux/lustre_fsfilt.h
lustre/include/linux/obd.h
lustre/lvfs/fsfilt_ext3.c
lustre/lvfs/fsfilt_extN.c [deleted file]
lustre/lvfs/fsfilt_reiserfs.c
lustre/mds/mds_fs.c
lustre/mds/mds_open.c
lustre/mds/mds_reint.c
lustre/mds/mds_unlink_open.c
lustre/obdclass/obd_config.c
lustre/obdfilter/filter.c
lustre/obdfilter/filter_io.c
lustre/ptlrpc/llog_server.c