Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 49070
b: refs/heads/master
c: bbf2f9f
h: refs/heads/master
v: v3
  • Loading branch information
Robert P. J. Day authored and Adrian Bunk committed Feb 17, 2007
1 parent 5ab3d36 commit 11fc040
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4c3ee8266334e927d2318c8d6da5341a01394c0c
refs/heads/master: bbf2f9fb1c7239ae0aea55f7cb1555f4adc15f76
4 changes: 2 additions & 2 deletions trunk/drivers/scsi/sym53c8xx_2/sym_fw1.h
Original file line number Diff line number Diff line change
Expand Up @@ -1020,7 +1020,7 @@ static struct SYM_FWA_SCR SYM_FWA_SCR = {
* It shall be a tagged command.
* Read SIMPLE+TAG.
* The C code will deal with errors.
* Agressive optimization, is'nt it? :)
* Aggressive optimization, isn't it? :)
*/
SCR_MOVE_ABS (2) ^ SCR_MSG_IN,
HADDR_1 (msgin),
Expand All @@ -1044,7 +1044,7 @@ static struct SYM_FWA_SCR SYM_FWA_SCR = {
RADDR_1 (dsa),
/*
* The SIDL still contains the TAG value.
* Agressive optimization, isn't it? :):)
* Aggressive optimization, isn't it? :):)
*/
SCR_REG_SFBR (sidl, SCR_SHL, 0),
0,
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/scsi/sym53c8xx_2/sym_fw2.h
Original file line number Diff line number Diff line change
Expand Up @@ -956,7 +956,7 @@ static struct SYM_FWA_SCR SYM_FWA_SCR = {
* It shall be a tagged command.
* Read SIMPLE+TAG.
* The C code will deal with errors.
* Agressive optimization, is'nt it? :)
* Aggressive optimization, isn't it? :)
*/
SCR_MOVE_ABS (2) ^ SCR_MSG_IN,
HADDR_1 (msgin),
Expand All @@ -968,7 +968,7 @@ static struct SYM_FWA_SCR SYM_FWA_SCR = {
offsetof(struct sym_lcb, head.itlq_tbl_sa),
/*
* The SIDL still contains the TAG value.
* Agressive optimization, isn't it? :):)
* Aggressive optimization, isn't it? :):)
*/
SCR_REG_SFBR (sidl, SCR_SHL, 0),
0,
Expand Down
14 changes: 7 additions & 7 deletions trunk/fs/ext4/extents.c
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ static int ext4_ext_space_block(struct inode *inode)

size = (inode->i_sb->s_blocksize - sizeof(struct ext4_extent_header))
/ sizeof(struct ext4_extent);
#ifdef AGRESSIVE_TEST
#ifdef AGGRESSIVE_TEST
if (size > 6)
size = 6;
#endif
Expand All @@ -235,7 +235,7 @@ static int ext4_ext_space_block_idx(struct inode *inode)

size = (inode->i_sb->s_blocksize - sizeof(struct ext4_extent_header))
/ sizeof(struct ext4_extent_idx);
#ifdef AGRESSIVE_TEST
#ifdef AGGRESSIVE_TEST
if (size > 5)
size = 5;
#endif
Expand All @@ -249,7 +249,7 @@ static int ext4_ext_space_root(struct inode *inode)
size = sizeof(EXT4_I(inode)->i_data);
size -= sizeof(struct ext4_extent_header);
size /= sizeof(struct ext4_extent);
#ifdef AGRESSIVE_TEST
#ifdef AGGRESSIVE_TEST
if (size > 3)
size = 3;
#endif
Expand All @@ -263,7 +263,7 @@ static int ext4_ext_space_root_idx(struct inode *inode)
size = sizeof(EXT4_I(inode)->i_data);
size -= sizeof(struct ext4_extent_header);
size /= sizeof(struct ext4_extent_idx);
#ifdef AGRESSIVE_TEST
#ifdef AGGRESSIVE_TEST
if (size > 4)
size = 4;
#endif
Expand Down Expand Up @@ -1118,7 +1118,7 @@ ext4_can_extents_be_merged(struct inode *inode, struct ext4_extent *ex1,
*/
if (le16_to_cpu(ex1->ee_len) + le16_to_cpu(ex2->ee_len) > EXT_MAX_LEN)
return 0;
#ifdef AGRESSIVE_TEST
#ifdef AGGRESSIVE_TEST
if (le16_to_cpu(ex1->ee_len) >= 4)
return 0;
#endif
Expand Down Expand Up @@ -1891,8 +1891,8 @@ void ext4_ext_init(struct super_block *sb)

if (test_opt(sb, EXTENTS)) {
printk("EXT4-fs: file extents enabled");
#ifdef AGRESSIVE_TEST
printk(", agressive tests");
#ifdef AGGRESSIVE_TEST
printk(", aggressive tests");
#endif
#ifdef CHECK_BINSEARCH
printk(", check binsearch");
Expand Down
4 changes: 2 additions & 2 deletions trunk/include/linux/ext4_fs_extents.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@
#include <linux/ext4_fs.h>

/*
* With AGRESSIVE_TEST defined, the capacity of index/leaf blocks
* With AGGRESSIVE_TEST defined, the capacity of index/leaf blocks
* becomes very small, so index split, in-depth growing and
* other hard changes happen much more often.
* This is for debug purposes only.
*/
#define AGRESSIVE_TEST_
#define AGGRESSIVE_TEST_

/*
* With EXTENTS_STATS defined, the number of blocks and extents
Expand Down

0 comments on commit 11fc040

Please sign in to comment.