| To: | Dave Chinner <david@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: fallocate bug? |
| From: | Zhu Han <schumi.han@xxxxxxxxx> |
| Date: | Tue, 8 May 2012 11:24:52 +0800 |
| Cc: | xfs@xxxxxxxxxxx |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=CdjUPx/CTHCyVb5ZEreBo4c/ful/W58OqiJQOvuWJbw=; b=qP6JuRI2LIF7jYU4thxMwdFRRI+xe1c6kAtdPI8L74CuSgvNI7ewqIp8czUyvOXBBP 3hlXpKEJg3bTRVbzkpgA4x2EkBtPEMH6ieb74tjbyfUPf9RT35pjJMbdo/TZzKa+gM1k hZys2A0zPJb636FFNA9JkP6i37ZHKKN6BUZ6BWgqRvbzbX760KrQVMvtSE4htMgIbyvH +iCx5DlVjBeT986eU/xPaWhr/D2gpYoUHTRH27YhaPRWnQAEtgaaBj8vf34aCRQDjwpQ ittOLBnqr9j6O24HowoblCpUOsOjbVt/91teIFCRI2hBAoJcNd1scuGiRqcU8SzlxY71 W/Fg== |
| In-reply-to: | <20120507235955.GE5091@dastard> |
| References: | <CAF7KpS-r4zRXZxBU3U8ohxA85-rEvbAzCewYZDr44MNdP+YmFg@xxxxxxxxxxxxxx> <20120507235955.GE5091@dastard> |
|
On Tue, May 8, 2012 at 7:59 AM, Dave Chinner <david@xxxxxxxxxxxxx> wrote:
Thanks for pointing it out.
Close(fd) should be invoked before dd quits. But why the extra blocks beyond EOF are not freed? The only way I found to remove the extra blocks is truncate the file to its real size.
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: fallocate bug?, Dave Chinner |
|---|---|
| Next by Date: | Re: fallocate bug?, Dave Chinner |
| Previous by Thread: | Re: fallocate bug?, Dave Chinner |
| Next by Thread: | Re: fallocate bug?, Dave Chinner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |