when you write large files  to extern stroage, the kernel may have as follow context:

[ 4560.236385] INFO: task sync:1036 blocked for more than 120 seconds.
[ 4560.236389] Not tainted 4.4.0-21-generic #37-Ubuntu
[ 4560.236390] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 4560.236391] sync D ffff880065aafdd8 0 1036 869 0x00000000
[ 4560.236394] ffff880065aafdd8 ffff8800b83a6650 ffff8801b73b2940 ffff880034938dc0
[ 4560.236396] ffff880065ab0000 ffff8800b83a6680 ffff8800b83a6330 ffff880065aafe64
[ 4560.236397] ffffffff81240470 ffff880065aafdf0 ffffffff818203f5 ffff880065aafe64
[ 4560.236398] Call Trace:
[ 4560.236404] [<ffffffff81240470>] ? SyS_tee+0x3e0/0x3e0
[ 4560.236407] [<ffffffff818203f5>] schedule+0x35/0x80
[ 4560.236430] [<ffffffff81236788>] wb_wait_for_completion+0x58/0xa0
[ 4560.236433] [<ffffffff810c3a10>] ? wake_atomic_t_function+0x60/0x60
[ 4560.236434] [<ffffffff81239e23>] sync_inodes_sb+0xa3/0x1f0
[ 4560.236436] [<ffffffff81240470>] ? SyS_tee+0x3e0/0x3e0
[ 4560.236437] [<ffffffff81240485>] sync_inodes_one_sb+0x15/0x20
[ 4560.236440] [<ffffffff812100b9>] iterate_supers+0xb9/0x110
[ 4560.236442] [<ffffffff812407e4>] sys_sync+0x44/0xb0
[ 4560.236443] [<ffffffff818244f2>] entry_SYSCALL_64_fastpath+0x16/0x71

why happen:

  normal, it not direct I/O when write file to extern stroage,

  it will to write to cache, when the cache up to forty percent of the memory capacity

  it will trigger flush to extern stroage, it depend your system configure.

  so subject to I/O performance, system unable compelte  synchronization  in 120 seconds

  kernel will upraised warning message.

  

write file to stroage trigger kernel warning的更多相关文章

  1. [WebStrom] Cannot detect file change to trigger webpack re-compile

    Working with editors/IDEs supporting “safe write” Note that many editors support “safe write” featur ...

  2. wince6.0 编译报错:"error C2220: warning treated as error - no 'object' file generated"的解决办法

    内容提要:wince6.0编译报错:"error C2220: warning treated as error - no 'object' file generated" 原因是 ...

  3. 深入 kernel panic 流程【转】

    一.前言 我们在项目开发过程中,很多时候会出现由于某种原因经常会导致手机系统死机重启的情况(重启分Android重启跟kernel重启,而我们这里只讨论kernel重启也就是 kernel panic ...

  4. linux 编译kernel与svn版本冲突解决方法 [drivers/gpu/mali/mali/common/mali_kernel_core.o] 错误 1

    问题: 系统正常编译linux系统kernel,安装svn后,kernel编译出错. 错误: CHK     include/linux/version.h  CHK     include/gene ...

  5. linux kernel tainted

    日志中会有一些信息: dmesg | grep -i tainted 具体代码可以通过proc看到: cat /proc/sys/kernel/tainted 数字的意义: tainted: Non- ...

  6. How the Kernel Manages Your Memory

    http://duartes.org/gustavo/blog/post/how-the-kernel-manages-your-memory/ After examining the virtual ...

  7. [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist 160913 02:11:21 mysqld_safe mysqld from pid file /tmp/mysql.pid ended

    -- :: [Note] InnoDB: Renaming log file ./ib_logfile101 to ./ib_logfile0 -- :: [Warning] InnoDB: New ...

  8. File I/O

    File I/O Introduction     We'll start our discussion of the UNIX System by describing the functions ...

  9. 线上centos6出现软死锁 kernel:BUG: soft lockup

    线上centos6出现软死锁 kernel:BUG: soft lockup 今天线上一台centos6机器用xshell一直连接不上,然后在xshell上显示 Message from syslog ...

随机推荐

  1. 20145330 《网络攻防》 MSF基础应用

    20145330 <网络攻防> MSF基础应用 1.实验后回答问题 (1)用自己的话解释什么是exploit,payload,encode. exploit:进行渗透攻击的模块合集 pay ...

  2. 【TCP/IP详解 卷一:协议】第二十二章 TCP的坚持定时器

    这两章来到了TCP的定时器部分,在 TCP的超时与重传 和 TCP的三握四挥 我们介绍了 TCP的重传定时器 和 TCP的2MSL定时器. 本随笔介绍 防止返回ACK丢失的死锁情况 的 坚持定时器 和 ...

  3. UVa 12563 劲歌金曲(0-1背包)

    https://vjudge.net/problem/UVA-12563 题意: 在一定的时间内连续唱歌,最后一首唱11分钟18秒的劲歌金曲,问最多能长多长时间. 思路: 0-1背包问题,背包容量为t ...

  4. C++中的也能使用正则表达式----转载

    转自:https://www.cnblogs.com/ittinybird/p/4853532.html, 以作笔记. 正则表达式Regex(regular expression)是一种强大的描述字符 ...

  5. ros python 订阅robot_pose

    #!/usr/bin/env python import rospy import tf import time from tf.transformations import * from std_m ...

  6. html 表格中添加圆

    效果: <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" con ...

  7. Python day10 global关键字、函数递归、匿名函数、map函数的用法详解

    1.global关键字 引用全局变量,在局部全局变量改变,也会改变,global相当于指针,将地址指向全局变量的name name='littlepage' def littepage(): glob ...

  8. Qt5.3.2(VS2010)_调试_进入Qt源码

    1.必须是 Debug模式 2. http://blog.csdn.net/mayenjoy/article/details/42535789 http://blog.csdn.net/goforwa ...

  9. 《剑指offer》第三十一题(栈的压入、弹出序列)

    // 面试题31:栈的压入.弹出序列 // 题目:输入两个整数序列,第一个序列表示栈的压入顺序,请判断第二个序列是 // 否为该栈的弹出顺序.假设压入栈的所有数字均不相等.例如序列1.2.3.4. / ...

  10. js 数组的删除

    var test=[1,2,1,2,3,4,5,6,7]; 1.remove test.remove(1)     位置 test.remove(-2) test.remove(2,3) 2 dele ...