All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 201973] New: File Size
@ 2018-12-12  9:28 bugzilla-daemon
  2018-12-12 15:31 ` [Bug 201973] " bugzilla-daemon
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla-daemon @ 2018-12-12  9:28 UTC (permalink / raw)
  To: linux-xfs

https://bugzilla.kernel.org/show_bug.cgi?id=201973

            Bug ID: 201973
           Summary: File Size
           Product: File System
           Version: 2.5
    Kernel Version: 3.10.0-862.el7.x86_64
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: XFS
          Assignee: filesystem_xfs@kernel-bugs.kernel.org
          Reporter: ghasemsystem@gmail.com
        Regression: No

Created attachment 279965
  --> https://bugzilla.kernel.org/attachment.cgi?id=279965&action=edit
file size

hi
when my log file is used by program and i truncate it, file size is release on
disk but ll/ls command show old size of file, but du command work correctly

good luck

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug 201973] File Size
  2018-12-12  9:28 [Bug 201973] New: File Size bugzilla-daemon
@ 2018-12-12 15:31 ` bugzilla-daemon
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla-daemon @ 2018-12-12 15:31 UTC (permalink / raw)
  To: linux-xfs

https://bugzilla.kernel.org/show_bug.cgi?id=201973

Eric Sandeen (sandeen@sandeen.net) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |sandeen@sandeen.net
         Resolution|---                         |INVALID

--- Comment #1 from Eric Sandeen (sandeen@sandeen.net) ---
Hi, this is the upstream kernel bug tracker, and 3.10.0-862.el7.x86_64 is not
an upstream kernel.  This is not the appropriate bug tracker for distribution
kernels.

Also, you've not provided any reproducer steps, just a screenshot of du & ls
which shows no problem.

There is no expectation that du should match ls.  One reflects the maximum
offset in a file, the other reflects the amount of space allocated to the file.
 They are two different quantities.  Observe:

# fallocate -l 161m output.out
# truncate --size 18g output.out

# du -h output.out
161M    output.out

# ls -lh output.out
-rw-r--r--. 1 root root 18G Dec 12 10:30 output.out

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-12-12 15:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-12  9:28 [Bug 201973] New: File Size bugzilla-daemon
2018-12-12 15:31 ` [Bug 201973] " bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.