1. 11 7月, 2012 1 次提交
  2. 10 6月, 2012 1 次提交
  3. 06 6月, 2012 1 次提交
  4. 23 5月, 2012 1 次提交
  5. 17 5月, 2012 1 次提交
  6. 15 5月, 2012 13 次提交
  7. 28 4月, 2012 1 次提交
  8. 21 4月, 2012 1 次提交
    • J
      nfs: Enclose hostname in brackets when needed in nfs_do_root_mount · 98a2139f
      Jan Kara 提交于
      When hostname contains colon (e.g. when it is an IPv6 address) it needs
      to be enclosed in brackets to make parsing of NFS device string possible.
      Fix nfs_do_root_mount() to enclose hostname properly when needed. NFS code
      actually does not need this as it does not parse the string passed by
      nfs_do_root_mount() but the device string is exposed to userspace in
      /proc/mounts.
      
      CC: Josh Boyer <jwboyer@redhat.com>
      CC: Trond Myklebust <Trond.Myklebust@netapp.com>
      Signed-off-by: NJan Kara <jack@suse.cz>
      Cc: stable@vger.kernel.org
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      98a2139f
  9. 29 3月, 2012 1 次提交
  10. 21 3月, 2012 1 次提交
    • V
      NFS: fix sb->s_id in nfs debug prints · 5a7c9eec
      Vivek Trivedi 提交于
      NFS bdi flush thread in ps output is printed like "flush-<major number
      in decimal>:<minor number in decimal>"
      For example:
      $ ps aux | grep flush
       2079 root         0 SW   [flush-0:18]
                                       ^^^^
      
      nfs_bdi_register()
      ==> bdi_register_dev()
      ==> bdi_register(bdi, NULL, "%u:%u", MAJOR(dev), MINOR(dev));
                                   ^^^^^
      
      However, NFS sb->s_id store major:minor number in hex:
      
      nfs_initialise_sb()
      ==>         snprintf(sb->s_id, sizeof(sb->s_id),
                       "%x:%x", MAJOR(sb->s_dev), MINOR(sb->s_dev));
                        ^^^^^
      
      If we enable nfs debug prints using command:
      $ rpcdebug -m nfs -s all
      
      write to a file:
      $ dd if=/dev/zero of=<NFS Mount>/testfile.txt bs=32768 count=1
      
      Without Patch:
      [ 2431.032000] NFS:     0 initiated write call (req 0:12/40, 32768 bytes
      @ offset 0)                                         ^^^^
      
      With Patch:
      [ 2431.032000] NFS:     0 initiated write call (req 0:18/40, 32768 bytes
      @ offset 0)                                         ^^^^
      
      We should store NFS "s->s_id" in decimal to avoid confusion between NFS
      flush thread name(in ps output) and NFS debug prints.
      Signed-off-by: NVivek Trivedi <vtrivedi018@gmail.com>
      Signed-off-by: NNamjae Jeon <linkinjeon@gmail.com>
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      5a7c9eec
  11. 06 3月, 2012 1 次提交
  12. 03 3月, 2012 5 次提交
  13. 02 3月, 2012 1 次提交
  14. 19 2月, 2012 1 次提交
  15. 15 2月, 2012 2 次提交
  16. 07 2月, 2012 1 次提交
  17. 01 2月, 2012 4 次提交
  18. 07 1月, 2012 3 次提交