https://bugzilla.kernel.org/show_bug.cgi?id=206057
Bug ID: 206057
Summary: 5.5.0: f2fs is extremely slow, with ext4 system works
well
Product: File System
Version: 2.5
Kernel Version: 5.5.0-rc2-next
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: f2fs
Assignee: filesystem_f...@kernel-bugs.kernel.org
Reporter: da...@ixit.cz
Regression: No
Machine model: ASUS Google Nexus 7 2012 (Project Bach)
used "f2fs: support data compression" from kernel/git/jaegeuk/f2fs.git . (to
fix 32bit divide compilation issue)
Compiled without F2FS compression support.
It seems that f2fs doing something extremely slow? After I flashed data onto
f2fs, tablet started behave slow and even didn't run Phoc UI.
/dev/mapper/mmcblk1p10p2 on / type f2fs
(rw,relatime,lazytime,background_gc=on,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,flush_merge,extent_cache,mode=adaptive,active_logs=6,alloc_mode=default,fsync_mode=posix)
Failures:
[ 12.291917] F2FS-fs (dm-1): Mounted with checkpoint version = 64abe365
[ 14.617980] random: crng init done
[ 14.989616] udevd[687]: starting version 3.2.9
[ 15.257380] udevd[687]: starting eudev-3.2.9
[ 16.584866] Bluetooth: HCI UART driver ver 2.3
[ 16.584879] Bluetooth: HCI UART protocol H4 registered
[ 16.589646] Bluetooth: HCI UART protocol Broadcom registered
[ 17.002771] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4330-sdio
for chip BCM4330/4
[ 17.041791] Bluetooth: hci0: BCM: chip id 62
[ 17.042404] Bluetooth: hci0: BCM: features 0x0f
[ 17.044464] Bluetooth: hci0: BCM4330B1
[ 17.044480] Bluetooth: hci0: BCM4330B1 (002.001.003) build
[ 17.087552] bluetooth hci0: Direct firmware load for brcm/BCM4330B1.hcd
failed with error -2
[ 17.087583] Bluetooth: hci0: BCM: Patch brcm/BCM4330B1.hcd not found
[ 17.313674] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4330-sdio
for chip BCM4330/4
[ 17.313993] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available
(err=-2), device may have limited channels available
[ 17.318905] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4330/4 wl0: Jan 23
2013 17:47:42 version 5.90.195.114 FWID 01-73201c1f
[ 20.181213] EXT4-fs (dm-0): mounting ext2 file system using the ext4
subsystem
[ 20.202239] EXT4-fs (dm-0): mounted filesystem without journal. Opts: (null)
[ 20.202311] ext2 filesystem being mounted at /boot supports timestamps until
2038 (0x7fff)
[ 22.994765] elogind-daemon[1245]: Failed to create inotify watch on
/dev/null/utmp, ignoring: Not a directory
[ 23.006602] elogind-daemon[1245]: New seat seat0.
[ 23.182764] elogind-daemon[1245]: Watching system buttons on
/dev/input/event3 (gpio-keys)
[ 23.329474] elogind-daemon[1245]: Failed to set utmp path to /dev/null/utmp:
Not supported
[ 24.169197] ieee80211 phy0: brcmf_p2p_create_p2pdev: timeout occurred
[ 24.169221] ieee80211 phy0: brcmf_cfg80211_add_iface: add iface
p2p-dev-wlan0 type 10 failed: err=-5
[ 25.008074] elogind-daemon[1245]: Failed to create inotify watch on
/dev/null/utmp, ignoring: Not a directory
[ 25.022306] elogind-daemon[1245]: New session c1 of user okias.
[ 35.682232] vdd_camera: disabling
[ 35.683021] avdd_dsi_csi: disabling
[ 36.930091] rfkill: input handler disabled
[ 243.681507] INFO: task kworker/u8:2:222 blocked for more than 122 seconds.
[ 243.681588] Not tainted 5.5.0-rc2-next-20191220 #8
[ 243.681622] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this
message.
[ 243.681661] kworker/u8:2D0 222 2 0x
[ 243.681834] Workqueue: writeback wb_workfn (flush-254:1)
[ 243.682036] [] (__schedule) from []
(schedule+0xc8/0x120)
[ 243.682195] [] (schedule) from []
(rwsem_down_write_slowpath+0x294/0x3b8)
[ 243.682331] [] (rwsem_down_write_slowpath) from []
(f2fs_write_single_data_page+0x420/0x4bc)
[ 243.682438] [] (f2fs_write_single_data_page) from []
(f2fs_write_cache_pages+0x2a4/0x3d8)
[ 243.682526] [] (f2fs_write_cache_pages) from []
(f2fs_write_data_pages+0x154/0x228)
[ 243.682663] [] (f2fs_write_data_pages) from []
(do_writepages+0x34/0x68)
[ 243.682771] [] (do_writepages) from []
(__writeback_single_inode+0x64/0x4d8)
[ 243.682871] [] (__writeback_single_inode) from []
(writeback_sb_inodes+0x248/0x428)
[ 243.682958] [] (writeback_sb_inodes) from []
(__writeback_inodes_wb+0x64/0xa0)
[ 243.683097] [] (__writeback_inodes_wb) from []
(wb_writeback+0x1e0/0x34c)
[ 243.683209] [] (wb_writeback) from []
(wb_workfn+0x194/0x3dc)
[ 243.683307] [] (wb_workfn) from []
(process_one_work+0x19c/0x35c)
[ 243.683395] [] (process_one_work) from []
(worker_thread+0x234/0x2d8)
[ 243.683518] [] (worker_thread) from []
(kthread+0xfc/0x104)
[ 243.683622] [] (kthread) from []
(ret_from_fork+0x14/0x24)
[ 243.683668] Exception