Re: Curious about corner case in btrfs code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 26 Aug 2014 20:13:10 -0400, Nick said:

> From reading the code off the bat, seems to not need to be written as this case is rarely meet for large files
> or files that are huge and take a lot of time to write.

Nope.  Same exact logic for small files.  The code is doing "Don't bother
trying to decompress if we're off the end of the file entirely".  Doesn't
matter if the file is 43K in size or 43G.

Attachment: pgpV8PbzhMe3d.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux