Namjae Jeon
f0aac6162e
fat: use fat_msg_ratelimit() in fat__get_entry()
...
If an application tries to lookup (opendir/readdir/stat) 5000 files on a
fatfs USB device and the device is unplugged, many message occur, shown
below. This makes the application slow. So use the new
fat_msg_ratelimit() decrease the messaging rate.
#> ./file_lookup_testcase ./files_directory/
usb 2-1.4: USB disconnect, device number 4
FAT-fs (sda1): FAT read failed (blocknr 2631)
FAT-fs (sda1): Directory bread(block 396816) failed
FAT-fs (sda1): Directory bread(block 396817) failed
FAT-fs (sda1): Directory bread(block 396818) failed
FAT-fs (sda1): Directory bread(block 396819) failed
FAT-fs (sda1): Directory bread(block 396820) failed
FAT-fs (sda1): Directory bread(block 396821) failed
FAT-fs (sda1): Directory bread(block 396822) failed
FAT-fs (sda1): Directory bread(block 396823) failed
FAT-fs (sda1): Directory bread(block 406824) failed
FAT-fs (sda1): Directory bread(block 406825) failed
FAT-fs (sda1): Directory bread(block 406826) failed
FAT-fs (sda1): Directory bread(block 406827) failed
FAT-fs (sda1): Directory bread(block 406828) failed
FAT-fs (sda1): Directory bread(block 406829) failed
FAT-fs (sda1): Directory bread(block 406830) failed
FAT-fs (sda1): Directory bread(block 406831) failed
FAT-fs (sda1): Directory bread(block 417696) failed
FAT-fs (sda1): Directory bread(block 417697) failed
FAT-fs (sda1): Directory bread(block 417698) failed
FAT-fs (sda1): Directory bread(block 417699) failed
FAT-fs (sda1): Directory bread(block 417700) failed
FAT-fs (sda1): Directory bread(block 417701) failed
FAT-fs (sda1): Directory bread(block 417702) failed
FAT-fs (sda1): Directory bread(block 417703) failed
FAT-fs (sda1): FAT read failed (blocknr 2631)
FAT-fs (sda1): Directory bread(block 396816) failed
FAT-fs (sda1): Directory bread(block 396817) failed
FAT-fs (sda1): Directory bread(block 396818) failed
FAT-fs (sda1): Directory bread(block 396819) failed
FAT-fs (sda1): Directory bread(block 396820) failed
FAT-fs (sda1): Directory bread(block 396821) failed
Signed-off-by: Namjae Jeon <linkinjeon@gmail.com>
Signed-off-by: Amit Sahrawat <amit.sahrawat83@gmail.com>
Acked-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-05-31 17:49:28 -07:00
..
2012-05-06 13:43:41 +08:00
2012-03-20 21:29:35 -04:00
2012-05-06 13:43:41 +08:00
2012-05-06 13:43:41 +08:00
2012-05-28 09:54:45 -07:00
2012-03-20 21:29:35 -04:00
2012-05-06 13:43:41 +08:00
2012-05-28 09:54:45 -07:00
2012-03-20 21:29:41 -04:00
2012-05-31 17:49:26 -07:00
2012-05-28 09:54:45 -07:00
2012-05-06 13:43:41 +08:00
2012-03-20 21:29:48 -04:00
2012-03-21 13:36:41 -07:00
2012-04-17 00:18:36 -04:00
2012-05-15 14:59:26 -07:00
2012-05-15 10:39:28 -05:00
2012-05-28 09:54:45 -07:00
2012-03-20 21:29:35 -04:00
2012-05-28 13:10:41 -07:00
2012-05-28 09:54:45 -07:00
2012-05-28 09:54:45 -07:00
2012-05-28 09:54:45 -07:00
2012-05-31 17:49:28 -07:00
2012-05-06 13:43:41 +08:00
2012-05-28 09:54:45 -07:00
2012-05-28 09:54:45 -07:00
2012-05-06 13:43:41 +08:00
2012-05-28 09:54:45 -07:00
2012-05-06 13:43:41 +08:00
2012-05-31 17:49:27 -07:00
2012-05-06 13:43:41 +08:00
2012-05-28 09:54:45 -07:00
2012-03-20 21:29:35 -04:00
2012-05-15 23:34:37 +02:00
2012-04-23 21:43:41 -04:00
2012-05-28 09:54:45 -07:00
2012-05-06 13:43:41 +08:00
2012-04-13 13:50:52 -04:00
2012-05-06 13:43:41 +08:00
2012-05-06 13:43:41 +08:00
2012-05-06 13:43:41 +08:00
2012-05-29 10:43:51 -07:00
2012-05-23 17:42:39 -07:00
2012-05-31 17:49:27 -07:00
2012-03-23 16:58:31 -07:00
2012-05-06 13:43:41 +08:00
2012-05-28 09:54:45 -07:00
2012-05-06 13:43:41 +08:00
2012-03-20 21:29:35 -04:00
2012-05-29 16:22:24 -07:00
2012-05-28 09:54:45 -07:00
2012-03-20 21:29:52 -04:00
2012-03-20 21:29:38 -04:00
2012-05-15 23:34:39 +02:00
2012-03-20 21:29:37 -04:00
2012-05-28 09:54:45 -07:00
2012-03-30 17:31:56 -07:00
2012-03-28 18:05:54 -07:00
2012-05-28 09:54:45 -07:00
2012-05-06 13:43:41 +08:00
2012-05-28 09:54:45 -07:00
2012-05-28 09:54:45 -07:00
2012-05-28 09:54:45 -07:00
2012-05-28 09:54:45 -07:00
2012-05-21 16:06:20 -07:00
2012-03-20 21:29:45 -04:00
2012-05-03 03:29:34 -07:00
2012-05-29 16:22:23 -07:00
2012-04-20 17:29:13 -07:00
2012-05-23 17:42:39 -07:00
2012-05-23 17:42:39 -07:00
2012-03-20 21:29:46 -04:00
2012-04-20 17:29:13 -07:00
2012-05-06 13:43:41 +08:00
2012-03-20 21:29:46 -04:00
2012-04-20 17:29:13 -07:00
2012-03-20 21:48:21 +08:00
2012-05-11 16:45:12 +02:00
2012-05-28 09:54:45 -07:00
2012-05-11 16:42:14 +02:00
2012-03-24 10:24:31 -07:00
2012-05-15 14:08:35 -07:00
2012-05-24 00:28:21 -04:00
2012-02-28 19:31:58 -05:00
2012-02-23 15:56:21 -08:00
2012-02-28 19:31:58 -05:00
2012-05-22 20:57:06 +02:00
2012-05-23 17:42:39 -07:00
2012-05-03 03:29:34 -07:00
2012-03-20 21:29:32 -04:00
2012-03-29 18:12:23 -07:00
2012-03-24 10:24:31 -07:00
2012-05-06 13:43:41 +08:00
2012-05-28 09:54:45 -07:00
2012-02-28 19:31:58 -05:00
2012-05-03 03:29:34 -07:00
2012-03-21 13:36:41 -07:00
2012-05-15 09:17:34 -04:00
2012-05-10 19:54:35 -07:00
2012-05-23 17:42:39 -07:00
2012-03-20 21:29:38 -04:00
2012-02-28 19:31:58 -05:00
2012-05-26 11:33:40 -07:00
2012-05-23 17:42:39 -07:00
2012-05-31 17:49:27 -07:00
2012-02-28 19:31:58 -05:00
2012-02-28 19:31:58 -05:00
2012-02-28 19:31:58 -05:00
2012-03-29 18:12:23 -07:00
2012-03-24 10:24:31 -07:00
2012-02-24 11:42:50 -08:00
2012-04-05 19:04:27 -04:00
2012-02-28 19:31:58 -05:00
2012-05-23 17:42:39 -07:00
2012-02-28 19:31:58 -05:00
2012-03-24 10:24:31 -07:00
2012-02-28 19:31:58 -05:00
2012-02-28 19:31:58 -05:00
2012-04-05 15:25:50 -07:00