search for: data_bytes

Displaying 6 results from an estimated 6 matches for "data_bytes".

2005 Jul 11
2
[BUG] --sector-align zero padding is not entirely zero
...rectly contained 448 zero bytes at the end (112 samples). However, the FLAC version contained 224 zero bytes, followed by 224 non-zero bytes. I've tracked the bug to the calculation of the number of bytes to fill the input_ buffer with, which is calculated in line 778 of encode.c as follows: data_bytes = wide_samples * (bps >> 3); However, my understanding is that the input_buffer is always an array of 32-bit integers, and therefore the calculation should always be: data_bytes = wide_samples * 4; The expression (bps >> 3) is also used elsewhere in encode.c so you may wish to examin...
2005 Jul 20
0
[BUG] --sector-align zero padding is not entirely zero
...). > However, > the FLAC version contained 224 zero bytes, followed by 224 non-zero > bytes. > > I've tracked the bug to the calculation of the number of bytes to > fill > the input_ buffer with, which is calculated in line 778 of encode.c > as > follows: > > data_bytes = wide_samples * (bps >> 3); > > However, my understanding is that the input_buffer is always an array > of > 32-bit integers, and therefore the calculation should always be: > > data_bytes = wide_samples * 4; > > The expression (bps >> 3) is also used elsewhe...
2023 May 24
4
[PATCH 0/3] vhost-scsi: Fix IO hangs when using windows
The following patches were made over Linus's tree and fix an issue where windows guests will send iovecs with offset/lengths that result in IOs that are not aligned to 512. The LIO layer will then send them to Linux's block layer but it requires 512 byte alignment, so depending on the block driver being used we will get IO errors or hung IO. The following patches have vhost-scsi detect
2007 Jan 08
6
[PATCH 0/5] Debian patches for 1.1.3
Hi Josh, Here are all the patches that are currently applied to the Debian packages for flac. You may disagree with some of them but as the current maintainer, I'm submitting them all for your consideration. (I should've submitted them earlier, but I've been quite busy. Sorry!) Here is a listing of the patches that I'll be sending: Patch 1 fixes a simple typo in metaflac
2023 Jul 09
4
[PATCH v2 0/2] vhost-scsi: Fix IO hangs when using windows
The following patches were made over Linus's tree and fix an issue where windows guests will send iovecs with offset/lengths that result in IOs that are not aligned to 512. The LIO layer will then send them to Linux's FS/block layer but it requires 512 byte alignment, so depending on the FS/block driver being used we will get IO errors or hung IO. The following patches have vhost-scsi
2009 Nov 10
12
[RFC] big fat transaction ioctl
...m committing. + */ +#define BTRFS_IOC_UT_FLAG_WEDGEONFAIL (1<<13) + +struct btrfs_ioctl_usertrans { + __u64 num_ops; /* in: # ops */ + __u64 ops_ptr; /* in: usertrans_op array */ + __u64 num_fds; /* in: size of fd table (max fd + 1) */ + __u64 data_bytes, metadata_ops; /* in: for space reservation */ + __u64 flags; /* in: flags */ + __u64 ops_completed; /* out: # ops completed */ +}; + +#define BTRFS_IOC_USERTRANS _IOW(BTRFS_IOCTL_MAGIC, 16, \ + struct btrfs_ioctl_usertrans) + #endif diff --git a/fs/namei.c b/fs...