search for: bhs

Displaying 20 results from an estimated 69 matches for "bhs".

2006 Aug 24
1
Strange permissions problems
...ed out. Now it is bugging me. It seems that sometimes when a student writes his/her file to a directory, it will not keep the correct group. It puts his/her main group as the group owner and that fouls things up. Here is what I have. Unix Permissions /school 3777 admin.teacher /school/bhs 3777 admin.teacher /school/bhs/reese 3777 reese.teacher /school/bhs/reese/6thhour 3777 reese.teacher Now rosie creates her first directory in ....6thhour /school/bhs/reese/6thhour/rosie 3770 rosie.teacher /school/bhs/reese/6thhour/rosie/word 3770 rosie.teacher /school/bhs/reese/6thhour/...
2005 Nov 10
1
Strange Samba permissions
I have a problem with some Samba permissions. Here is the share. [bhs] path = /school/bhs read only = no valid users = @teacher @admin @bhs create mask = 660 force create mode = 2660 directory mask = 770 force directory mode = 3770 T: is mapped to a DFS share with permissions 3777, then the 'bhs' share is a link in the DFS...
2004 Jun 06
1
[PATCH] use sb_getblk
...the latest 2.4 defintion, but I don't care for obsolete junk). Index: src/super.c =================================================================== --- src/super.c (revision 1014) +++ src/super.c (working copy) @@ -799,7 +799,7 @@ /* get first two blocks */ for (i=0; i<2; i++) { - bhs[i] = getblk (OCFS_GET_BLOCKDEV(sb), i, 512); + bhs[i] = sb_getblk(sb, i); if (bhs[i] == NULL) { LOG_ERROR_STATUS(status = -EIO); goto leave; Index: src/journal.c =================================================================== --- src/journal.c (revision 1014) +++ src/journal.c (work...
2009 Jan 06
1
[PATCH] ocfs2: Add statistics for the checksum and ecc operations.
...crc == check.bc_crc32e) + if (crc == check.bc_crc32e) { + ocfs2_blockcheck_inc_recover(stats); goto out; + } mlog(ML_ERROR, "Fixed CRC32 failed: stored: %u, computed %u\n", (unsigned int)check.bc_crc32e, (unsigned int)crc); @@ -366,7 +524,8 @@ void ocfs2_block_check_compute_bhs(struct buffer_head **bhs, int nr, * Again, the data passed in should be the on-disk endian. */ int ocfs2_block_check_validate_bhs(struct buffer_head **bhs, int nr, - struct ocfs2_block_check *bc) + struct ocfs2_block_check *bc, + struct ocfs2_blockcheck_stats *stats) { int...
2008 Oct 28
14
[PATCH 0/13] ocfs2: xattr bucket API
When the extended attribute namespace grows to a b-tree, the leaf clusters are organized by means of 'buckets'. Each bucket is 4K in size, regardless of blocksize. Thus, a bucket may be made of more than one block. fs/ocfs2/xattr.c has a nice little abstraction to wrap this, struct ocfs2_xattr_bucket. It contains a list of buffer_heads representing these blocks, and there is even an
2005 Aug 20
2
DFS question
...er] path = /export/teachers msdfs root = yes [student] path = /export/students msdfs root = yes Create these directories and add the links in each like so (shares are already there): /export/teachers ln -s msdfs:bes-serve\\bes elemstudents ln -s msdfs:bms-serve\\bms midstudents ln -s msdfs:bhs-serve\\bhs highstudents ln -s msdfs:bes-serve\\teachpublic teacherspublic ln -s msdfs:bes-serve\\lemburg lemburger ln -s msdfs:bes-serve\\school elemteachers ln -s msdfs:bms-serve\\school midteachers ln -s msdfs:bhs-serve\\school highteachers /export/students ln -s msdfs:bes-serve\\bes elemstudent...
2009 Apr 30
0
[PATCH] ocfs2: Add statistics for the checksum and ecc operations.
...crc == check.bc_crc32e) + if (crc == check.bc_crc32e) { + ocfs2_blockcheck_inc_recover(stats); goto out; + } mlog(ML_ERROR, "Fixed CRC32 failed: stored: %u, computed %u\n", (unsigned int)check.bc_crc32e, (unsigned int)crc); @@ -366,7 +524,8 @@ void ocfs2_block_check_compute_bhs(struct buffer_head **bhs, int nr, * Again, the data passed in should be the on-disk endian. */ int ocfs2_block_check_validate_bhs(struct buffer_head **bhs, int nr, - struct ocfs2_block_check *bc) + struct ocfs2_block_check *bc, + struct ocfs2_blockcheck_stats *stats) { int...
2008 Mar 18
1
Problems patching fs/jbd/checkpoint.c in RHEL4 2.6.9-67.0.4 kernel
...list_lock); jbd_unlock_bh_state(bh); log_start_commit(journal, tid); @@ -226,7 +227,7 @@ __flush_batch(journal_t *journal, struct */ static int __flush_buffer(journal_t *journal, struct journal_head *jh, struct buffer_head **bhs, int *batch_count, - int *drop_count) + int *drop_count, transaction_t *transaction) { struct buffer_head *bh = jh2bh(jh); int ret = 0; @@ -247,6 +248,7 @@ static int __flush_buffer(journal_t *jou set_buffer_jwrite(bh);...
2017 Jan 03
2
[PATCH net-next V2 3/3] tun: rx batching
..._buff_head *queue = &tfile->sk.sk_write_queue; > + struct sk_buff_head process_queue; > + int qlen; > + bool rcv = false; > + > + spin_lock(&queue->lock); Should this be spin_lock_bh()? Below and in tun_get_user() there are explicit local_bh_disable() calls so I guess BHs can interrupt us here and this would deadlock. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 455 bytes Desc: not available URL: <http://lists.linuxfoundation.org/pipermail/virtualization/attachments/2017010...
2017 Jan 03
2
[PATCH net-next V2 3/3] tun: rx batching
..._buff_head *queue = &tfile->sk.sk_write_queue; > + struct sk_buff_head process_queue; > + int qlen; > + bool rcv = false; > + > + spin_lock(&queue->lock); Should this be spin_lock_bh()? Below and in tun_get_user() there are explicit local_bh_disable() calls so I guess BHs can interrupt us here and this would deadlock. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 455 bytes Desc: not available URL: <http://lists.linuxfoundation.org/pipermail/virtualization/attachments/2017010...
2009 Apr 17
1
[PATCH 1/1] OCFS2: Log -EIO errors just when hit them.
...@@ -168,6 +170,8 @@ int ocfs2_read_blocks_sync(struct ocfs2_ * so we can safely record this and loop back * to cleanup the other buffers. */ status = -EIO; + mlog(ML_ERROR, "reading block %llu failed with %d\n", + (u64)bh->b_blocknr, status); put_bh(bh); bhs[i - 1] = NULL; } @@ -340,6 +344,9 @@ int ocfs2_read_blocks(struct inode *inod * for this bh as it's not marked locally * uptodate. */ status = -EIO; + mlog(ML_ERROR, "reading block %llu failed with" + " %d\n", + (u64)bh->b_blocknr, s...
2003 Oct 31
37
File Permissions
I have set up Samba so that all users on my small network can read from my one of my Linux shares as well as write to that share. However, when user A saves a file to that share, user B can't open it -- and vice versa. How can I set up samba so that all files written to that share can be read, modified, and deleted by all users? Thanks in advance for an answer to this question.
2005 Aug 18
1
samba-ldap
...running a batch useradd program. I can get about 450 or so added in, then it gives me an error that the user does not exist when I go to add the last 60 or so. My batch program actually reads in the users name and then does something like: /opt/IDEALX/sbin/smbldap-useradd -a -u 1000 -G bes,bhs bobbyb then it echos the passwd to /opt/IDEALX/sbin/smbldap-passwd to set the password Here is what I get on output on my last batch: /opt/IDEALX/sbin/smbldap-passwd: user bobbyb doesn't exit It is like it did not do the first line to create the user, so it cannot update the password. I...
2004 Aug 06
1
Ices dies unexpectedly!!!
...ndler] Kicking source 213 [localhost.localdomain] [Invalid Mount Point] [encoder], connected for 0 seconds, 0 bytes transfered. 0 sources connected [15/Oct/2002:15:58:06] [217:Connection Handler] Kicking all 0 clients for source 213 So what the hell could be done? Is there any way of work around? BHS ps.: Sorry for the long email... <p>--- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body....
2009 Feb 13
44
[PATCH 0/40] ocfs2: Detach ocfs2 metadata I/O from struct inode
...info ocfs2: Pass struct ocfs2_caching_info to the journal functions. ocfs2: Store the ocfs2_caching_info on ocfs2_extent_tree. ocfs2: Pass ocfs2_caching_info to ocfs2_read_extent_block(). ocfs2: ocfs2_find_path() only needs the caching info ocfs2: ocfs2_create_new_meta_bhs() doesn't need struct inode. ocfs2: Pass ocfs2_extent_tree to ocfs2_unlink_path() ocfs2: ocfs2_complete_edge_insert() doesn't need struct inode at all. ocfs2: Get inode out of ocfs2_rotate_subtree_root_right(). ocfs2: Pass ocfs2_extent_tree to ocfs2_get_subtree_root(...
2017 Jan 04
0
[PATCH net-next V2 3/3] tun: rx batching
...e->sk.sk_write_queue; >> + struct sk_buff_head process_queue; >> + int qlen; >> + bool rcv = false; >> + >> + spin_lock(&queue->lock); > Should this be spin_lock_bh()? Below and in tun_get_user() there are > explicit local_bh_disable() calls so I guess BHs can interrupt us here > and this would deadlock. sk_write_queue were accessed only in this function which runs under process context, so no need for spin_lock_bh() here.
2009 Jan 08
1
[PATCH] ocfs2: Access the xattr bucket only before modifying it.
...offset % blocksize); - ret = ocfs2_xattr_bucket_journal_access(ctxt->handle, bucket, - OCFS2_JOURNAL_ACCESS_WRITE); - if (ret) { - mlog_errno(ret); - goto out; - } - /* * From here on out we have to dirty the bucket. The generic * value calls only modify one of the bucket's bhs, but we need @@ -4748,12 +4741,18 @@ static int ocfs2_xattr_bucket_value_truncate(struct inode *inode, ret = ocfs2_xattr_value_truncate(inode, &vb, len, ctxt); if (ret) { mlog_errno(ret); - goto out_dirty; + goto out; + } + + ret = ocfs2_xattr_bucket_journal_access(ctxt->handle, buc...
2011 Oct 21
0
Kleinberg's burst detection algorithm
Has anyone here implemented Jon Kleinberg's burst detection algorithm ("Bursty and Hierarchical Structure in Streams" http://www.cs.cornell.edu/home/kleinber/bhs.pdf)? I'd rather not reimplement if there's already running code available.... Thanks, -s [[alternative HTML version deleted]]
2009 Mar 08
2
Tester wanted for multipath failover iSCSI target software
Hello, I'm looking for test users for new iSCSI target software designed for multipath failover cluster nodes. I'm very interested in the virtual machine such as Hyper-V. So I'm also tuning the target for using VMs. I need an environmental report in particular other than FreeBSD 7.1 RELEASE p3 i386/PAE kernel w/ZFS. I welcome the report with other initiators below. If you are
2009 Apr 07
0
[PATCH 1/1] OCFS2: use i_size_read() instead of direct accessing inode->i_size
...", i_size_read(inode)); mlog(0, "inode->i_blocks = %llu\n", (unsigned long long)inode->i_blocks); mlog(0, "inode->ip_clusters = %u\n", OCFS2_I(inode)->ip_clusters); @@ -1120,7 +1120,7 @@ static int ocfs2_force_read_journal(struct inode *inode) memset(bhs, 0, sizeof(struct buffer_head *) * CONCURRENT_JOURNAL_FILL); - num_blocks = ocfs2_blocks_for_bytes(inode->i_sb, inode->i_size); + num_blocks = ocfs2_blocks_for_bytes(inode->i_sb, i_size_read(inode)); v_blkno = 0; while (v_blkno < num_blocks) { status = ocfs2_extent_map_get_bloc...